RTE numbered list with bold option | Community
Skip to main content
Level 3
December 27, 2023
Solved

RTE numbered list with bold option

  • December 27, 2023
  • 1 reply
  • 660 views

Hi All, 

We are using AEM Saas version for our website. I am trying to use the list in RTE component and when I use the bold option with number list, the text is bold but the numbers are not bold.  

Is there a workaround or solution for this?

I tried to add <b> tag in <ol>, but it doesn't work. 

 

Many thanks in advance 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Harwinder-singh

@jainrupal2408 Just override the style for <ol> and add the following 

style="font-weight:bold;"

You will need a custom css class for <ol> with the above mentioned style.

 

I tested this on WKND content and works just fine (both numbers and text are bold-ed).

 

 

 

1 reply

Harwinder-singh
Community Advisor
Harwinder-singhCommunity AdvisorAccepted solution
Community Advisor
December 28, 2023

@jainrupal2408 Just override the style for <ol> and add the following 

style="font-weight:bold;"

You will need a custom css class for <ol> with the above mentioned style.

 

I tested this on WKND content and works just fine (both numbers and text are bold-ed).

 

 

 

Level 3
December 28, 2023

Thank you, yes it works !