Theme customizer styling each page
-
Hi guys, I’m making my first theme from scratch and I’m trying to use the customizer.
Senario:
I have a site with 4 items in the nav bar (e.g. home, contact, about, portfolio)
I want to set both a primary colour (e.g background) and a secondary colour (e.g. accent for other elements) on each of the 4 pages/categories.
Also an added feature would be to access these colours and give each of the nav links these colours (respective of the page they link to), but we can focus on the above first…Implementation:
I could simply hardcode some css… but then it wouldn’t work on other sites (I want to share my theme) or on a fifth page.
I want to have each item/page/category in my primary menu appear in the customizer and the option to choose 2 colours for each item/page/categoryAny ideas how I may implement this?
The topic ‘Theme customizer styling each page’ is closed to new replies.