Title: CSS Theme customization
Last modified: July 8, 2018

---

# CSS Theme customization

 *  [jmfvecu](https://wordpress.org/support/users/jmfvecu/)
 * (@jmfvecu)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/css-theme-customization/)
 * Hi, I am using this code to modify the main and sub menu text and background 
   color and so far so goed, but I do not get the text color of the sub menu to 
   be white as a want.
 * can someone give me a hint about what is wrong or i should add to the code?
 * Thanks in advance
 *     ```
       #access  ul li.current_page_item,
        #access ul li.current-menu-item {
       	background: #444;
       	box-shadow: none;
   
       }
       #access ul li.current_page_item > a,
       #access ul li.current-menu-item > a{
       	color: #fff;
       }
   
       #access ul ul li { /* level 2 */
       	position: relative;
       	display: block;
       	float: left;
       	clear:both;
       	width: 100%; /* submenu width fix */
       	min-width: 150px;
       	margin: 0;
       	border-bottom: 1px solid rgba(220,220,220,0.3);
       	background: #444;
       	box-shadow: none;
       	border-radius: 0;
   
       #access ul ul a, #access ul ul ul a {
   
           display: block;
           float: none;
           width: 100%;
           padding-top: 0.75em;
           padding-bottom: 0.75em;
           color: #ffffff;
       : ;
       }
       ```
   
    -  This topic was modified 7 years, 11 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 11 months ago](https://wordpress.org/support/topic/css-theme-customization/#post-10474021)
 * Please provide a link to a page on your site where we can see this. Thanks.
 *  [dayley](https://wordpress.org/support/users/dayley/)
 * (@dayley)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/css-theme-customization/#post-10474516)
 * There’s a couple of errors with your CSS that I can see. Try using this:
 *     ```
       #access ul li.current_page_item,
        #access ul li.current-menu-item {
       	background: #444;
       	box-shadow: none;
       }
   
       #access ul li.current_page_item > a,
       #access ul li.current-menu-item > a {
       	color: #fff;
       }
   
       #access ul ul li { /* level 2 */
       	position: relative;
       	display: block;
       	float: left;
       	clear: both;
       	width: 100%; /* submenu width fix */
       	min-width: 150px;
       	margin: 0;
       	border-bottom: 1px solid rgba(220,220,220,0.3);
       	background: #444;
       	box-shadow: none;
       	border-radius: 0;
       }
   
       #access ul ul a,
       #access ul ul ul a {
           display: block;
           float: none;
           width: 100%;
           padding-top: 0.75em;
           padding-bottom: 0.75em;
           color: #ffffff;
       }
       ```
   
 * Let me know if it’s corrected your problem.

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

The topic ‘CSS Theme customization’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [dayley](https://wordpress.org/support/users/dayley/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/css-theme-customization/#post-10474516)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
