Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #298727

    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

    #298732

    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

    #298985

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

    #299065

    Hey!

    Glad it worked.

    This should change on mobile as well. Just remove the browser cache then reload the page.

    Best regards,
    Ismael

    #299077

    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.

    #299497

    I figured all out.but one…

    How to Change Tab Title color ant its font-color and size

    • This reply was modified 10 years, 3 months ago by Rhoody.
    #299621

    Hi!

    Please add following code to Quick CSS as well

    .tab {
    color: red!important;
    font-size: 16px!important;
    }

    Cheers!
    Yigit

    #303671

    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

    #303772

    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

    #303987

    thanks a lot :-) that did the trick

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Tab Color change’ is closed to new replies.