Tagged: x
-
AuthorPosts
-
July 5, 2016 at 12:55 pm #1073363
Hi –
I would like to center stack the logo and hamburger header elements on mobile and keep the desktop version inline as is.
The url is here: cr-nativenations.com
I’ve attached two images. One is a screen shot of mobile as is, one is a photoshoped example of what I’d like to see: the logo and hamburger relationships adjusted in mobile view, the menu itself intact as is.
Thanks for your help,
Daniel
July 5, 2016 at 12:56 pm #1073365Sorry –
Missed the proper attachments. Both are attached here.
July 5, 2016 at 1:08 pm #1073381Hi Daniel,
Please add this code in the customizer:
@media (max-width: 980px) { .x-brand { width: 100%; text-align: center; margin-bottom: 20px; } .x-navbar-inner { text-align: center; } .masthead-inline .x-btn-navbar { float: none; display: block; } }
Hope this helps.
July 5, 2016 at 1:26 pm #1073401Code did a great job of shifting the logo and hamburger into proper alignment but it moved the menu to a centered display as well.
(screen shot working rv1 attached)
Is there an adjustment we can make to have it display with the menu as in the example
(example attached)
If it helps, gethopenow.org has a mobile solution that has the exposed menu un-centered with the logo and hamburger stacked.
Thanks,
Daniel
July 5, 2016 at 1:29 pm #1073410To clarify, I would like the exposed menu (after hamburger click) to be left justified and aligned as it was prior to these edits.
Thanks for all your help! You guys are awesome!
July 5, 2016 at 1:30 pm #1073411Hi Daniel,
Please update the code to:
@media (max-width: 980px) { .x-brand { width: 100%; text-align: center; margin-bottom: 20px; } .x-navbar-inner { text-align: center; } .masthead-inline .x-btn-navbar { float: none; display: block; } .x-navbar .mobile .x-nav li > a { text-align: left; } }
Hope this helps.
July 5, 2016 at 1:35 pm #1073418Thanks – like a charm.
July 5, 2016 at 1:45 pm #1073432You’re welcome!
-
AuthorPosts