Title: custom CSS not taking effect
Last modified: August 21, 2016

---

# custom CSS not taking effect

 *  Resolved [Alistair Bell](https://wordpress.org/support/users/designfood/)
 * (@designfood)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/custom-css-not-taking-effect/)
 * _Thanks for your theme and your time and the same to anyone else that may comment
   on this._
 * I am trying to make some mods to the theme so it fits with my client branding.
   For example I wanted to change the nav. (menu button) text colour and so got 
   the code to edit from another post and added/edited it in the custom CSS section.
   This had no effect so I tried adding it directly to the style.css file and it
   did work.
 * `
    .navbar .nav > li > a { color: #B72755; } .navbar .nav > li > a:hover { color:#
   e9a825; }
 * .navbar .nav > li > a:first-letter {
    font-size: 16px; }
 * As you have suggested I would rather add this to the custom CSS section but how
   do I get it to work. My site is…
    [http://uppinghamheritagetrail.org.uk/](http://uppinghamheritagetrail.org.uk/)
 * Thank you
 * Ali

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Theme Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/custom-css-not-taking-effect/#post-3877699)
 * Hi,
    For security reasons (SQL injections) this kind of code is not supported
   by the custom css section since it includes a special character : `>`.
 * Use a child theme > style.css to add this css.
    cheers
 *  Thread Starter [Alistair Bell](https://wordpress.org/support/users/designfood/)
 * (@designfood)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/custom-css-not-taking-effect/#post-3877703)
 * Brilliant! I have just created my first child theme. (should have learned to 
   do this before) for anyone else looking to do this look [here](http://www.youtube.com/watch?v=HrS33H2kMso).
 * This has fixed the issue. Many Thanks nikeo. You are a star!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘custom CSS not taking effect’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/customizr/4.4.24/screenshot.png)
 * Customizr
 * [Support Threads](https://wordpress.org/support/theme/customizr/)
 * [Active Topics](https://wordpress.org/support/theme/customizr/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/customizr/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/customizr/reviews/)

## Tags

 * [colour](https://wordpress.org/support/topic-tag/colour/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [nav](https://wordpress.org/support/topic-tag/nav/)

 * 2 replies
 * 2 participants
 * Last reply from: [Alistair Bell](https://wordpress.org/support/users/designfood/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/custom-css-not-taking-effect/#post-3877703)
 * Status: resolved