Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

RTE numbered list with bold option

Avatar

Level 2

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 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@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).

 

Harwindersingh_0-1703736275683.png

 

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@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).

 

Harwindersingh_0-1703736275683.png