tab nav each to have a custom color
-
Hi
i am desperately trying to change the color of each tab (Title & background) within a tab set. I have looked through the documentation but cannot work it out. i have tried to add a class to each title `[su_tabs class=”my-custom-tabs”]
[su_tab class=”su-tabs-nav1″ title=”Commercial” ] Tab 1 content [/su_tab]
[su_tab title=”Domestic” class=”su-tabs-nav2″] Tab 2 content [/su_tab]
[su_tab title=”Agriculture” class=”su-tabs-nav3″] Tab 3 content [/su_tab]
[/su_tabs]`with the custom Css being
.su-tabs.my-custom-tabs { background-color: #243349 } .su-tabs.my-custom-tabs .su-tabs-pane { padding: 1em; font-size: 1.3em; background-color: #882C69; } .su-tabs-nav1 span{ background-color: #3DAAC3; color:#FF0000; } .su-tabs-nav2 span{ background-color: #E95F1F; } .su-tabs-nav3 span{ background-color: #76B31E; } .su-tabs-nav4 span:hover{ background-color: #3DAAC3; } .su-tabs-nav5 span:hover{ background-color: #E95F1F; } .su-tabs-nav3 span:hover{ background-color: #76B31E; }
So what i am looking for is this
tab1:commercial(Green)| tab2:Domestic(Orange)| tab3:Agriculture(Purple)
Any ideas please?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘tab nav each to have a custom color’ is closed to new replies.