Tagged: x
-
AuthorPosts
-
October 18, 2016 at 3:52 pm #1221332
artisinformationParticipantThere is a strange overlap that is happening with my logo /navbar and the first content area that displays on my site when viewing the mobile resolutions. Currently I have a left fixed nav bar. I would also like the logo to be centered. It currently appears on the left side when viewing the mobile site. Any help would be awesome.
October 18, 2016 at 3:55 pm #1221339
artisinformationParticipantnever mind the picture.
October 18, 2016 at 6:54 pm #1221476
JadeModeratorHi there,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
October 18, 2016 at 7:02 pm #1221488
artisinformationParticipantI provided the link in the original post… and updated the issue I am having.
October 19, 2016 at 1:51 am #1221901
FriechModeratorHi There,
Sorry about that, I did check the site but I do not see any content overlapping with the logo/navbar, please clarify.
I would also like the logo to be centered. It currently appears on the left side when viewing the mobile site.
You can add this under Custom > CSS in the Customizer.
@media (max-width: 979px) { .x-brand.img { margin: 0 auto; float: none; } }Hope it helps, Cheers!
October 19, 2016 at 2:36 pm #1222758
artisinformationParticipantThanks,
That helped center the image very nicely. It also looks like the mobile button is sitting directly on the content line. How do I add a little bit of padding below the navigation box (mobile view)? Also, is there a way to have this nav box open by default?
I fixed the overlap with a gap above the first item in the first content column. Seems to look ok now, but it’s more of a cosmetic fix than a technical fix. Thanks for your help, it’s much appreciated!
Brandon
October 19, 2016 at 3:50 pm #1222845
JadeModeratorHi Brandon,
Please update the code provided previously to:
@media (max-width: 979px) { .x-brand.img { margin: 0 auto; float: none; } .x-navbar-wrap .x-container { padding: 15px 0; } }Then add this code in the JS customizer:
(function($){ $('.x-nav-wrap.mobile').addClass('in'); })(jQuery);Hope this helps.
October 21, 2016 at 8:56 am #1225445
artisinformationParticipantHi Again!
Thanks for all your support. It has been fantastic. I am still getting the gap right below the header, but the only time you can see it is when the browser is on my portfolio page when the browser window is small enough to move the menu to a mobile view; (http://stoneworth.com/case-studies/). My fix for the other pages was to put a gap at the top of the first content box, but this is not possible for the portfolio page.
I would also like to have a small gap between the above and below masthead sliders if possible. Any help on this would really be appreciated. Thanks,
Brandon
October 21, 2016 at 2:44 pm #1225819
Nabeel AModeratorHey Brandon,
Please add the following code in your Customizer and remove the gap element from all of your pages. This code will take care of everything:
@media screen and (max-width: 979px) { header.masthead+div { margin-top: 91px !important; } }Let us know how this goes!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1221332 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
