Bolding words in attribute display format

How can I bold words in the attribute Display format?

For example, an attribute is named “Best Used For” but I would like the Display Format in the listing blocks to show just “For %value%” with “For” bolded.

I don’t want to change the full label as I would like users to see “Best Used for” when users create their listing.

Thank you

Hi,

The display format accepts HTML code so it may work this way:

<span style="font-weight:bold">For</span> %value%

1 Like

Is it possible for the attributes to appear in bold when users are submitting a listing?

Thank you so much, that works exactly as I was hoping.

Let me know if you mean the attribute field label or the entered value? The field values are not bold by default, but you can make values that appear in the listing block/page bold (via the display format).

I mean the attribute label but in the submit listing form, when vendors have to fill in the details. I would like these labels to appear in bold:

Hi,

Please try these CSS snippets:

.hp-form__field--text .hp-field__label.hp-form__label{
	font-weight: bold;
}

.hp-form__field--textarea .hp-field__label.hp-form__label {
	font-weight: bold;
}

Please note that you may require additional customizations in the future.

1 Like

Thanks. It only changes the ‘Title’ and ‘Description’ fields though. The rest stay the same.

Hi,

If you need to make all labels bolder, please try this CSS snippet:

.hp-field__label {
	font-weight: bold;
}
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.