Skip to content

Commit

Permalink
Control del menú hamburgersa sólo por css permitiendo que siga funcio…
Browse files Browse the repository at this point in the history
…nando si se reescala de alta resolución a baja resolución
  • Loading branch information
stripTM committed Aug 24, 2014
1 parent b2184a7 commit 38d5886
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
16 changes: 8 additions & 8 deletions wp-content/themes/mozillahispano2/css/responsive.css
Expand Up @@ -470,6 +470,14 @@ ul.topiclist dt {
background-position: center -100px;
}

#menu-nav {
display: none;
}

#menu-nav.open {
display: block;
}

#menu {
font-size: 12px;
padding-top: 20px;
Expand Down Expand Up @@ -552,14 +560,6 @@ ul.topiclist dt {
padding: 5px 10px;
}

.close {
display: none;
}

.open {
display: block;
}

#cc {
margin-bottom: -15px;
margin-top: 15px; }
Expand Down
5 changes: 0 additions & 5 deletions wp-content/themes/mozillahispano2/js/responsive.js
Expand Up @@ -3,11 +3,6 @@
var menu = document.getElementById('menu-nav');
var windowWidth = window.innerWidth;

// Shows the menu only on mobile devices
if (windowWidth < 768) {
menu.classList.add('close');
}

function showMenu(el) {
if (el.classList.contains('open')) {
el.classList.remove('open');
Expand Down

0 comments on commit 38d5886

Please sign in to comment.