i was asked how to add a background to the tab container tabs, in v2 themes this is easy since the tabs are contained in a ul tabContainerSection-tabs so .tabContainerSection-tabs {background:red;} works
but in v1 themes theres just a row containing the tabs
so you need to use
.section-tabContainer .row:nth-of-type(2) {
background:red;
}
the reasoning is there are 2 rows inside section-tabContainer 1st row containing a span full containing an h3 with the tab container title
the 2nd row contains the tabs so must be targetted with nth of type (2) meaning 2nd row within the section-tabContainer
this maybe confusing to new coders so thought a lil tip could help
i hope in the fiture ning adds a class like the .tabContainerSection-tabs to that row
Replies