Title: I Can&#8217;t Change Certain CSS
Last modified: February 22, 2021

---

# I Can’t Change Certain CSS

 *  [pjaubrey45](https://wordpress.org/support/users/pjaubrey45/)
 * (@pjaubrey45)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/i-cant-change-certain-css/)
 * Hello,
 * I’m trying to change the color of a menu option when a cursor hovers over it.
   So far, I’ve just been able to copy/paste the element code into the CSS editor
   and modify as needed. For some reason, some elements won’t edit after I copy/
   paste them. (Sometimes, I’m not sure how to select the exact code I need to copy,
   so I copy a lot of code just to be sure I got the right element…could that be
   the problem?)
 * The theme I’m using is Zubin Music
 * [redacted]
    -  This topic was modified 5 years, 3 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fi-cant-change-certain-css%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 3 months ago](https://wordpress.org/support/topic/i-cant-change-certain-css/#post-14084911)
 * Don’t edit CSS files directly. Your changes will be lost when the theme updates.
   Use the customizer.
 *     ```
       .site-header-menu .main-navigation a:hover {
           color: #000;
       }
       ```
   
 * **To add or override CSS:** use the “Additional CSS” option in the customizer._
   [https://wordpress.org/support/article/appearance-customize-screen/](https://wordpress.org/support/article/appearance-customize-screen/)_
 * Learn to use the [Chrome Developer Tools](https://developers.google.com/web/tools/chrome-devtools/)
   or [Firefox Developer Tools](https://developer.mozilla.org/en-US/docs/Tools) 
   to help you see and test changes to your CSS.
 *  Thread Starter [pjaubrey45](https://wordpress.org/support/users/pjaubrey45/)
 * (@pjaubrey45)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/i-cant-change-certain-css/#post-14090374)
 * Thanks for your response!
 * When I use that code in the additional CSS box, the “.site-header-menu .main-
   navigation a” portion is in red, and no changes are made to the site.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 3 months ago](https://wordpress.org/support/topic/i-cant-change-certain-css/#post-14090465)
 * Screen shot of your custom CSS, please!
 *  Thread Starter [pjaubrey45](https://wordpress.org/support/users/pjaubrey45/)
 * (@pjaubrey45)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/i-cant-change-certain-css/#post-14091051)
 * Now I really feel like a newbie–how to I insert the screenshot into this thread?
   I don’t see any attachment options, and it doesn’t paste from my clipboard.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 3 months ago](https://wordpress.org/support/topic/i-cant-change-certain-css/#post-14091180)
 * Put the screenshot on imgur.com and put a link to it here.
 *  Thread Starter [pjaubrey45](https://wordpress.org/support/users/pjaubrey45/)
 * (@pjaubrey45)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/i-cant-change-certain-css/#post-14091221)
 * > [CSS Issues](https://imgur.com/a/I8NLghF)
 * Thanks for your patience!
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 3 months ago](https://wordpress.org/support/topic/i-cant-change-certain-css/#post-14091250)
 * I think there’s something wrong with the CSS ending at line 42. Try moving this
   CSS to the top of the custom CSS. Also, is there a space between “navigation”
   and “a”? It’s hard to tell given how the stuff is wrapped.
 *  Thread Starter [pjaubrey45](https://wordpress.org/support/users/pjaubrey45/)
 * (@pjaubrey45)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/i-cant-change-certain-css/#post-14091346)
 * I believe there is a space. Moving it to the top did the trick! Thanks!

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

The topic ‘I Can’t Change Certain CSS’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [hover color](https://wordpress.org/support/topic-tag/hover-color/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [pjaubrey45](https://wordpress.org/support/users/pjaubrey45/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/i-cant-change-certain-css/#post-14091346)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
