Tagged: x
-
AuthorPosts
-
July 20, 2016 at 11:31 am #1095526
minyonaParticipantHey there.
I want to make the top bar sticky on all screen sizes, and no longer have the main nav bar sticky. I know how to change the main nav bar in the customizer, but unsure how to make the top bar sticky.
Any help would be greatly appreciated. =)
July 20, 2016 at 11:31 am #1095527
minyonaParticipantThis reply has been marked as private.July 20, 2016 at 12:09 pm #1095593
ThaiModeratorHi There,
To achieve that, please follow these steps:
1. Set the navbar position to Static Top:
http://i.imgur.com/Xshjac3.png
2. Add the following CSS under Customizer > Custom > Global CSS:
.x-topbar { min-width: 41px; position: fixed; width: 100%; top: 0; } .x-logobar { margin-top: 41px; }Hope it helps 🙂
July 20, 2016 at 7:02 pm #1096091
minyonaParticipantWorked perfectly.
I would like the top bar to span the full width. Currently the consultation button and the links on the left of the top bar line up according to what seems like a container. How can I have them begin at the margins? Like this site: https://www.miami-institute.com/
I also want to make the phone number more prominent. Can I add it as a button that displays the number, but also dials it when clicked on a cell phone?
July 20, 2016 at 11:02 pm #1096442
FriechModeratorHi There,
You can add this under Custom > CSS in the Customizer.
.x-topbar .x-container { width: 100%; max-width: none; }You can add a class x-btn to the phone number link and that will turn to a button.
e.g.
<a href="tel:+14102960414" title="Phone" class="x-btn">410-296-0414</a>Hope it helps, Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1095526 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
