Change colour of Tab text



  • Greetings,
    I have my tabs deactivated because I prefer the sidebar. My present theme is dark with white text. The active tab is bright white while other tabs are normal white. Is there a way to change the color of the active tab? Sometimes the active tab is not obvious but it would be if for instance it was yellow.

    Thanks in advance
    iomari


    modedit added information to title, moved thread



  • @iomari Add the following CSS to your custom.css, following the pinned instructions in the modding sub-forum:

    .tab.active {
        background: yellow !important;
    }
    


  • For text color: .tab-position .tab.active .tab-header .title {color: yellow;}
    For background: .tab-position .tab.active .tab-header {background-color: yellow}
    Be aware that using colors this way will break compatibility with other themes.



  • Thanks guys



  • @iomari I use this which should preserve themes compatibility tweaking only the background colors ^^

    .tab-position > .tab > .tab-header {background-color: rgba(0, 0, 0, .8);}
    .tab-position > .tab.active > .tab-header {background-color: inherit;}
    

 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.