I could use some quick css magic.
How to change the Tab color (passive and active)
and the content background of the active tab.
thanks in advanced
Hey Rhoody!
Please add following code to Quick CSS in Enfold theme options under General Styling tab and adjust as needed
div .main_color .tabcontainer .active_tab_content, div .main_color .tabcontainer .active_tab { background-color: orange; color: white; }
.main_color .sidebar_tab, .main_color .tabcontainer .tab { color: white; background-color: purple; }
Regards,
Yigit
thanks a lot :-) works great for PC
how to make it work for smartphones, here the background color is still white and the text also..
Hey!
Glad it worked.
This should change on mobile as well. Just remove the browser cache then reload the page.
Best regards,
Ismael
Ismael,
thanks for your reply. I did like adviced on my phone
the TAB color is changing, the TAB-Content background remains light gray.(same color as font-color in PC version) so I only see the link, which is another color.
I figured all out.but one…
How to Change Tab Title color ant its font-color and size
Hi!
Please add following code to Quick CSS as well
.tab {
color: red!important;
font-size: 16px!important;
}
Cheers!
Yigit
Lovely, thanks.
the tab content background remains with the old style and unreadable on smartphones (or if you reduce the width of your browser window on your PC narrow enough. http://dumaguete.com/barangays-dumaguete-city/
please advice
Hi!
Please add !important rule to your codes as following
div .main_color .tabcontainer .active_tab_content, div .main_color .tabcontainer .active_tab {
background-color: #207ca0!important;
color: white!important;
}
Cheers!
Yigit
thanks a lot :-) that did the trick