Title: Theme customizer styling each page
Last modified: August 24, 2016

---

# Theme customizer styling each page

 *  [ovgandroid](https://wordpress.org/support/users/ovgandroid/)
 * (@ovgandroid)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/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/category**
 * Any ideas how I may implement this?

Viewing 1 replies (of 1 total)

 *  Thread Starter [ovgandroid](https://wordpress.org/support/users/ovgandroid/)
 * (@ovgandroid)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/theme-customizer-styling-each-page/#post-5962984)
 * Also, I would like to do this in such a way that in my header.php I can basically
   write (pseudo code) :
    – get primary colour of this page (the page requested)–
   get secondary colour of this page (the page requested) And it can be used in 
   my inline css like this

Viewing 1 replies (of 1 total)

The topic ‘Theme customizer styling each page’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [Themes](https://wordpress.org/support/topic-tag/themes/)

 * 1 reply
 * 1 participant
 * Last reply from: [ovgandroid](https://wordpress.org/support/users/ovgandroid/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/theme-customizer-styling-each-page/#post-5962984)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
