Tagged: x
-
AuthorPosts
-
January 26, 2017 at 10:06 pm #1347250
Sara SParticipantHi, Ive added some text in the topbar and it extends past the menu in the navbar right underneath it. How can that be fixed so it is perfectly aligned? (I tried changing the px to 0 but it still did not align.)
And how can I make the last word (CLIENT LOGIN) not go over to the next line for a better view on mobile?
Also, on mobile view there is a funny grey bar on top of the text in the topbar. How can I get rid of that?
THANKS!
January 26, 2017 at 10:08 pm #1347252
Sara SParticipantThis reply has been marked as private.January 27, 2017 at 12:14 am #1347335
Paul RModeratorHi Sara,
Thanks for writing in!
You can add this under Custom > Edit Global CSS in the Customizer.
.x-topbar .p-info .alignright { padding-right: 16px; } @media (max-width: 767px) { .x-topbar .p-info { background-color:#fff; } .x-topbar .x-container.width { width: 100%; } .x-topbar .alignleft { display:none; } .x-topbar .alignright { padding-right: 0; float: none; margin: 0; } }Hope that helps.
January 27, 2017 at 1:33 am #1347390
Sara SParticipantIt didn’t change anything. Could it be because I just made changes to the code? (got from themeco support in response to another question re: topbar content)
January 27, 2017 at 1:38 am #1347392
Paul RModeratorHi,
There could be a syntax error in your css code that is preventing the code from working.
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
January 27, 2017 at 2:09 am #1347413
Sara SParticipantThis reply has been marked as private.January 27, 2017 at 2:17 am #1347415
Rue NelModeratorHello There,
Thanks for providing the information. They are not align because you have added a padding to the left and right for the navbar. To resolve this, you must add a padding for the topbar as well. You can add this under Custom > CSS in the Customizer.
header.masthead.masthead-inline .x-topbar { padding-left: 45px; padding-right: 45px; }Please let us know if this works out for you.
January 27, 2017 at 9:23 am #1347826
Sara SParticipantNo 🙁 it still did not do anything.
January 27, 2017 at 12:53 pm #1348060
JadeModeratorHi Sara,
Please remove this code from the customizer:
header.masthead.masthead-inline .x-navbar {
padding-left: 30px;
padding-right: 30px;
}then add this:
.x-navbar .desktop .x-nav>li:last-child>a { padding-right: 0; }Hope this helps.
January 29, 2017 at 6:29 pm #1349993
Sara SParticipantIt still doesn’t work… still off by a bit. How can we align it perfectly?
January 29, 2017 at 10:43 pm #1350248
ChristopherModeratorHi there,
Please add this code :
.x-topbar-inner.x-container.max.width { width: 86%; }Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1347250 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
