Quantcast
Channel: Topic Tag: mobile | WordPress.org
Viewing all articles
Browse latest Browse all 22088

Jesin on "[Theme: Customizr] Menu Bar vanishes on smaller windows & mobile"

$
0
0

the domain behind a country based blacklist

I though so :-) I think some parts of Asia were blocked as I tried accessing it from India and a Hong Kong proxy.

The mobile menu works based on CSS media queries

Looking into /testing/wp-content/themes/customizr/inc/css/black.css line 8675

.navbar .btn-navbar {
  display: block;
}

this code is placed inside

@media (max-width: 979px) {
}

To disable it you need to override it by adding the following to the style.css file of your child theme

@media (max-width: 979px) {
 .navbar .btn-navbar {
   display: none;
 }
}

Similarly to prevent the normal menu bar from disappearing focus on all .navbar code inside

@media (max-width: 979px) { }

You'll have to concentrate on overriding float: none , display: none and position:

Use the firebug plugin for firefox to make your job easier.

Here are some resources

http://www.w3schools.com/css
http://css-tricks.com/css-media-queries/


Viewing all articles
Browse latest Browse all 22088

Trending Articles