Avada › Forums › Community Forum › Change Tab Heading font size w/o changing H4
Tagged: custom css tab heading font size
-
AuthorPosts
-
Hello!
I’d like to universally change the font-size of my Avada tab headings. I realize they use the theme’s H4 setting, but I’d like to leave those alone.
I can see that the surrounding code is:
<h4 class=”fusion-tab-heading” data-fontsize=”22″ data-lineheight=”33″>…</h4>I have tried to set the font size for this class in the Custom CSS, but it’s not working – possibly because the “data-fontsize” specified above is overriding. Or, for some other reason – I’m just not knowledgeable enough about css to figure it out.
Any suggestions?
This worked for me in the custom css:
.fusion-tabs .nav-tabs > li .fusion-tab-heading {
font-size: /* value */;
}Worked perfectly. Thanks for the tip.
How to change the code if I want to change tab content font?
Thanks for help.
Hi
You can use the code below
.fusion-tabs .nav-tabs > li .fusion-tab-heading { font-family /* value */ !important; }
Note that the Avada community forum is primarily for a user to user interaction.
If you would like hands-on assistance here, please register for support and create a support ticket as explained here → https://theme-fusion.com/avada-doc/getting-started/avada-theme-support
Thank you!
Shaminder
-
AuthorPosts
- You must be logged in to reply to this topic.