- This topic has 2 replies, 2 voices, and was last updated 5 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The topic ‘Change menu background color in mobile mode’ is closed to new replies.
When in mobile mode, the main drop down menu background is white, how can I change it to different color and also with border?
This is the custom CSS you need to change these colors, and add a border.
Add it to ‘Appearance’ > ‘Customize’ > ‘Additional CSS’, changing the color values to the color you want.
@media (max-width: 1024px) {
/* drop down menu */
#site-navigation {
background: #f9f9f9;
border: 1px solid #000000;
}
/* sub menu within the main drop down */
.main-navigation ul ul {
background: #f6f6f6;
}
}
The CSS works! Thank you so much for your quick response again!