Reply To: Mobile Device – Menu showing in black

Home Forums WordPress Themes – Premium Pure & Simple Mobile Device – Menu showing in black Reply To: Mobile Device – Menu showing in black

#22407
Sushil Adhikari
Moderator

Hi there,

Hi there,

To maintain border of page title you need to increase it manually for every pages:
For example if we had page with id post=174 [You can see on address bar of browser while editing page ]
Add this css on child theme style.css file.

#post-174 .type-page .entry-title::after {
	width: 10%
}

To loose the active state on re-opening menu please add this css on child theme style.css file:

@media only screen and (max-width: 768px) {
	.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a {
	    outline: none;
	    background-color: #080d07 !important;
	
	}
}
@media only screen and (max-width: 768px) {
	ul.sub-menu .current_page_item > a, ul.sub-menu .current_page_ancestor > a, ul.sub-menu .current-menu-item > a, ul.sub-menu .current-menu-ancestor > a {
	    background-color: #080d07 !important;
	  
	}
}

Note: Please use child theme style.css file to add this css, otherwise your changes will be lost on theme update.

Thanks