Timeline for Target a specific container to style on WordPress storefront theme
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 28, 2017 at 15:37 | comment | added | D. Dan |
The simplest solution would be to somehow add a class to that whole page (or the parent element of the elements that need to be colored, or every element that needs to be colored) based on shoe brand or category(or however it is defined in your site). The you could do something like .nike .container { // css code - if wrapper or body has the class } or .element.nike { // css code - if every element that needs to be colored had the class }
|
|
Dec 28, 2017 at 15:16 | comment | added | Jimmie Davis | My bad, I was not specific in my question.. It is not changing the nav background colors ex: but when the user clicks on a specific brand "nike" under the main tab "shoes", the page that that gets loaded into the browser will display products of nike in a red background. | |
Dec 28, 2017 at 12:27 | history | answered | D. Dan | CC BY-SA 3.0 |