Change mobile menu background color in storefront theme
-
Hi,
My website is https://fitnesslover.byethost18.com/
I’m using storefront theme. It shows perfectly in desktop. But when in mobile mode the background color behind the logo disappears. It takes the background color of the menu (white). I want the background color behind the logo as it is in the desktop and background color for menu as white. Just like it shows in desktop.
How do I do it?
I have added few css code in my child theme
/* Super menu underline color */
.main-navigation ul li:hover > a {
border-bottom: 4px solid #96588a;
}/* Sub menu background color */
.menu li li {
background: #c7c7c7;
background-image: none;
border: 1px solid #e5e5e5;
color: #444;
filter: none;
margin: -1px 0 1px 0;
width: auto;
}/* Reducing header height */
header#masthead {
padding-top: 20px;
}/* Centering of logo and secondary navigation menu */
nav#site-navigation {
padding-top: 0px;
}/* Super menu background color */
.storefront-primary-navigation{
background: white;
}
- The topic ‘Change mobile menu background color in storefront theme’ is closed to new replies.