Title: Help with CSS code
Last modified: October 2, 2020

---

# Help with CSS code

 *  Resolved [mikeflynn08](https://wordpress.org/support/users/mikeflynn08/)
 * (@mikeflynn08)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/help-with-css-code-3/)
 * Anyone know the CSS to change the text colour in the navigation bar?
 * Also, is there a way to change the background colour of the posts on the blog
   page?
 * And finally is there a CSS code for changing the header title font to make it
   bold or add a shadow? We changed the header font using – header {Font-family:“
   Papyrus”;} – but for some odd reason the font-weight doesn’t not work.
 * Also does anyone know how to have it so that the page you are on in the menu 
   highlights in a different colour?
 * Many thanks
 * Mike
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhelp-with-css-code-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Velda](https://wordpress.org/support/users/supernovia/)
 * (@supernovia)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/help-with-css-code-3/#post-13485607)
 * Hey Mike, here’s an overview for how to find the CSS for your theme, and it can
   likely help: [https://en.support.wordpress.com/custom-design/how-to-find-your-themes-css/](https://en.support.wordpress.com/custom-design/how-to-find-your-themes-css/)
 * It looks like you may have already changed the menu color. For the drop shadow,
   you can use something along these lines:
 *     ```
       #masthead .site-title a, #masthead p.site-description {
           text-shadow: 2px 2px 2px black;
       }
       ```
   
 * Hoping that helps!
 *  Thread Starter [mikeflynn08](https://wordpress.org/support/users/mikeflynn08/)
 * (@mikeflynn08)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/help-with-css-code-3/#post-13487196)
 * Thanks for that it was very helpful. I have changed a few things, but cannot 
   work out the following:
 * I have changed the post backgrounds – however part of it has remained white –
   what would the coding be to change this also?
 * I cannot seem to work out how to change the post title colours – everything I
   have tried doesn’t work – what coding do I need to change this?
 * Finally – the links that I have in my posts are a really dark colour – what coding
   would I need to set this?
 * Unfortunately my coding is very basic, which is why I cannot seem to figure these
   ones out.
 * Thanks so much for all of your help in this – especially with this theme, as 
   everything I know seems to not work in this one, but we really want to keep this
   theme as it works the best.
 * Kind regards
    Mike
 *  [KokkieH](https://wordpress.org/support/users/kokkieh/)
 * (@kokkieh)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/help-with-css-code-3/#post-13492067)
 * > I have changed the post backgrounds – however part of it has remained white–
   > what would the coding be to change this also?
 * You can use this:
 *     ```
       body:not(.single) .format-standard {
         background-color: #212121;
       }
       ```
   
 * > I cannot seem to work out how to change the post title colours – everything
   > I have tried doesn’t work – what coding do I need to change this?
 * Use this:
 *     ```
       .entry-header .entry-title a {
         color: white;
       }
       ```
   
 * > Finally – the links that I have in my posts are a really dark colour – what
   > coding would I need to set this?
 * This will make in-post links the same color as the category links at the top,
   and of links in your sidebar widgets:
 *     ```
       .entry-content a {
         color: lightskyblue;
       }
       ```
   
 * You can substitute the color values themselves with whatever you want.
 *  Thread Starter [mikeflynn08](https://wordpress.org/support/users/mikeflynn08/)
 * (@mikeflynn08)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/help-with-css-code-3/#post-13493351)
 * Thank you so much for these – they all worked perfectly. You are an absolute 
   legend 🙂
 *  Thread Starter [mikeflynn08](https://wordpress.org/support/users/mikeflynn08/)
 * (@mikeflynn08)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/help-with-css-code-3/#post-13493483)
 * [@kokkieh](https://wordpress.org/support/users/kokkieh/) – I have just noticed
   that the below has only worked for the main blog page and not for the other pages
   that I have:
 * body:not(.single) .format-standard {background-color: #212121;}
 * Could you possibly advise on what I would need to add to fix the pages also?
 * Thanks so much for your help.
    Kind regards Mike
 *  [KokkieH](https://wordpress.org/support/users/kokkieh/)
 * (@kokkieh)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/help-with-css-code-3/#post-13493589)
 * Replace that code with this instead:
 *     ```
       body:not(.single) .format-standard, .single #primary article.post, .page #primary article.page {
         background-color: #212121;
       }
       ```
   
 *  Thread Starter [mikeflynn08](https://wordpress.org/support/users/mikeflynn08/)
 * (@mikeflynn08)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/help-with-css-code-3/#post-13494316)
 * Absolute star – thank you soooo much 🙂
 *  [KokkieH](https://wordpress.org/support/users/kokkieh/)
 * (@kokkieh)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/help-with-css-code-3/#post-13497326)
 * Glad I could help 🙂

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

The topic ‘Help with CSS code’ is closed to new replies.

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

 * 8 replies
 * 3 participants
 * Last reply from: [KokkieH](https://wordpress.org/support/users/kokkieh/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/help-with-css-code-3/#post-13497326)
 * Status: resolved