Tagged: x
-
AuthorPosts
-
April 26, 2016 at 6:00 pm #901143
jsjmccrackenParticipantHello,
On http://www.tablerockkennels.com/ how do I center the toggle navigation when the website responds to the screen size? It’s currently on the right but I would like it to be centered.
Thank you!
Jacob
April 27, 2016 at 7:32 am #902015
ThaiModeratorHi Jaob,
Please add the following CSS under Customizer > Custom > Global CSS:
.x-btn-navbar { display: block !important; margin-right: auto; margin-left: auto; width: 45px; float: none; margin-top: 20px; }Hope it helps 🙂
April 27, 2016 at 9:10 am #902217
jsjmccrackenParticipantThis reply has been marked as private.April 27, 2016 at 3:32 pm #902995
NicoModeratorHi There,
Change the code above into this:
.x-btn-navbar { margin-right: auto; margin-left: auto; width: 50px; float: none; margin-top: 10px; margin-bottom: 10px; }Add this code to center your logo in mobile view.
@media (max-width: 979px){ margin: 0 auto; width: 375px; float:none; }Let us know how it goes. Hope it helps
Thanks.
April 27, 2016 at 3:49 pm #903013
jsjmccrackenParticipantWhen the site is in mobile view the toggle navigation is still on the right. I would like it to be centered below the logo.
April 28, 2016 at 4:49 am #903798
JackKeymasterHi there,
Thanks for writing back!
Try adding the following Custom CSS within Appearance > Customizer > Custom > CSS.
.x-btn-navbar, .x-btn-navbar.collapsed { font-size: 24px; margin-top: 10%; margin-right: 50%; }Thank you!
April 28, 2016 at 10:25 am #904249
jsjmccrackenParticipantThis is the lead I needed, Thank you!
April 28, 2016 at 10:03 pm #905081
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-901143 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
