Community Forums › Forums › Archived Forums › Design Tips and Tricks › Aspire-Pro Menu Doesn't Show On Smaller Screen
Tagged: aspire pro
- This topic has 8 replies, 2 voices, and was last updated 9 years, 1 month ago by
Andykev.
-
AuthorPosts
-
March 17, 2017 at 3:13 pm #203263
Leonidt1985
MemberHi there,
When I adjust the screen to be smaller of my website: https://www.Backauthority.com the Menu disappears... Any idea how to fix this? I want to maintain the same look and margin as now... This theme is supposed to be mobile-freiendly.
https://www.Backauthority.comMarch 17, 2017 at 4:51 pm #203264Andykev
Participant@media only screen and (max-width: 800px) { .genesis-nav-menu.responsive-menu { display: none; float: none; padding-bottom: 20px; }You have "display" set to NONE.
March 17, 2017 at 5:01 pm #203266Leonidt1985
MemberOk thanks. But can you please tell me which line to change there? And change it from 'None' to what?
March 17, 2017 at 9:04 pm #203269Leonidt1985
MemberWhen I changed to "block" it didn't fix it either...
March 17, 2017 at 9:33 pm #203270Andykev
ParticipantOK. You changed the .css for the header.
/* # Site Header ---------------------------------------------------------------------------------------------------- */ ---------------------------------------------------------------------------------------------------- */ .site-header { .site-header { background-color: #000; background-color: #000; border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd; left: 0; left: 0; position: fixed; position: static; top: 0; top: 0; width: 100%; width: 100%; z-index: 999; z-index: 999; margin-bottom: -120px;Your menu is there, but you changed the margin-bottom to -120px. This moved content to cover your "hamburger menu".
The original .css is on the right. Yours is the left.
March 17, 2017 at 9:45 pm #203272Andykev
ParticipantOn line 2744 of your css
comment out this section
/*---- .site-header .wrap { padding: 0 5%; }-----*/
`
Suddenly your menu appears! You can leave the -120px to cover your spacing
March 17, 2017 at 10:06 pm #203273Leonidt1985
MemberWhen you say comment out you mean add /*---- and -----*/ after? So that essentially hides it? I did that and it didn't work.
March 17, 2017 at 10:12 pm #203274Leonidt1985
MemberWell it did work for when the screen gets quite smaller, but in between it didn't show menu. Should I comment it out for all screen sizes?
March 17, 2017 at 10:47 pm #203275Andykev
ParticipantThose are your media querries. The .css code "kicks in" as the screen gets smaller in size. This is controlled by the code for each section.
The regular menu is visible and functional, then when the screen gets to a set smaller size, then the main menu is hidden, and the "hamburger menu" pops in.
You have commented out the code incorrectly.
/*-------------- .site-header .wrap { padding: 0 5%; }------------*/you have the "------*/ " down a line too far. Needs to be immediately after the "}"
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.