Tagged: burger menu icon breakpoint
-
AuthorPosts
-
February 13, 2024 at 7:57 pm #1434201
Hi Enfold team,
An issue giving me grief is to maintain the position of the burger menu icon at all breakpoints. See screencapture in private.
I’d like to maintain the desktop view’s placement of the icon at all breakpoints. For some reason it trails further down the page as the breakpoint goes to tablet then mobile..February 15, 2024 at 2:16 pm #1434413Hey Julie,
Thank you for the inquiry.
Did you configure the default logo not to display on desktop view? The reason the burger menu is pushed beneath the header is because of the logo container, which receives this style on smaller screens.
.responsive #top .logo { position: static; display: table; height: 80px !important; float: none; padding: 0; border: none; width: 80%; }
To keep the logo hidden on mobile view, you can add this css code.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .responsive #top .logo { display: none; } }
Best regards,
IsmaelFebruary 15, 2024 at 2:40 pm #1434416Hi Ismael,
The logo displays and should as seen on the screen capture I provided earlier. I am looking for the burger menu to stay top right side of the logo not bump down.February 17, 2024 at 5:15 pm #1434583Hi,
Thanks for your patience, it looks like you have a customized menu item, I added this css to correct:@media only screen and (max-width: 767px) { .av_main_nav_header.av_menu_right #header_main .main_menu-uber { top: 0px; } #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .av-hamburger-inner, #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus .av-hamburger-inner, #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .av-hamburger-inner::before, #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus .av-hamburger-inner::before, #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .av-hamburger-inner::after, #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus .av-hamburger-inner::after { background: #326295 !important; opacity: 1; } } .av-burger-overlay-active #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .av-hamburger-inner, .av-burger-overlay-active #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus .av-hamburger-inner, .av-burger-overlay-active #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .av-hamburger-inner::before, .av-burger-overlay-active #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus .av-hamburger-inner::before, .av-burger-overlay-active #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .av-hamburger-inner::after, .av-burger-overlay-active #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus .av-hamburger-inner::after { background: #326295; opacity: 1; } #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .av-hamburger-inner, #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus .av-hamburger-inner, #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .av-hamburger-inner::before, #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus .av-hamburger-inner::before, #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .av-hamburger-inner::after, #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus .av-hamburger-inner::after { background: #fff; opacity: 1; }
Please clear your browser cache and check.
Best regards,
MikeFebruary 19, 2024 at 2:25 pm #1434768Amazing! I learned from your CSS. Thanks!
February 19, 2024 at 3:17 pm #1434776Hi,
Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
RikardFebruary 19, 2024 at 3:19 pm #1434777Yes, you may close this ticket.
February 19, 2024 at 3:46 pm #1434782Hi,
Thanks for letting us know, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘Burger menu Icon – Breakpoint location’ is closed to new replies.