• Resolved pranavmahapatra

    (@pranavmahapatra)


    I want to set up the font size using global font variables, or in units other than pixels.

    I’m using the following selectors but it doesn’t seem to work:

    .bd_toc_content_list_item ul
    	{
        	font-size:var(--fs6)!important;
    	}

    I have also tried more specific selectors as well, but it doesn’t work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello sir

    Try this CSS style

    .bd_toc_content_list_item ul li a {
      font-size: 20px !important;
    }

    This will work perfectly.

    Thread Starter pranavmahapatra

    (@pranavmahapatra)

    @boomdevs I had already used them earlier, but that doesn’t work as well.

    But thank you for your response, I took another look, and finally found the correct selectors:

    .bd_toc_content .bd_toc_content_list ul li a
    {font-size:20px !important}
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom CSS not working’ is closed to new replies.