Tagged: x
-
AuthorPosts
-
June 1, 2016 at 5:32 am #1019740
NickGuideParticipantHello,
I would like to add a Transparent button to my Top Bar and to keep the colour the same as the navigation links. I would like to place it next to my social icons, just on the left of them.
I assume shortcodes don’t work in the Top bar, can you help with the required code??
Many Thanks
June 1, 2016 at 5:33 am #1019741
NickGuideParticipantThis reply has been marked as private.June 1, 2016 at 5:52 am #1019764
DarshanaModeratorHi there,
Thanks for writing in! You can add the following HTML code into your Customizer -> Header -> Topbar Content.
<a title="Example" href="#example" class="x-btn x-btn-yellow-transparent x-btn-transparent x-btn-square x-btn-regular">Square Button</a>If you require further changes, please refer (https://community.theme.co/kb/implementing-additional-button-colors/).
Hope that helps.
June 1, 2016 at 6:26 am #1019815
NickGuideParticipantThanks for the help.
Can you help with the following1) Center the botton in the Top bar
2) Change the colour during hovering
3) Move the button over to the rightThank you
June 1, 2016 at 6:33 am #1019830
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> CSS :
.x-topbar .x-btn{ float:right; } .x-topbar .x-btn:over{ background-color:red; color:#fff; }Hope that helps.
June 1, 2016 at 6:52 am #1019853
NickGuideParticipantThanks – doesn’t make any change at all though..
June 1, 2016 at 7:16 am #1019902
ChristopherModeratorHi there,
Please add button to topbar so we can help you with this.
Thanks.
June 1, 2016 at 7:23 am #1019911
NickGuideParticipantThanks – I have added the button
June 1, 2016 at 7:38 am #1019929
DarshanaModeratorThis reply has been marked as private.June 1, 2016 at 7:49 am #1019938
NickGuideParticipantThis reply has been marked as private.June 1, 2016 at 8:15 am #1019974
ThaiModeratorHi There,
Please add the following CSS under Customizer > Custom > Global CSS:
.x-topbar .p-info a.x-btn.x-btn-yellow-transparent { border: 4px solid #ffbf00; margin-bottom: 5px; } .x-topbar .p-info a.x-btn.x-btn-yellow-transparent:hover { color: #fff; border-color: #fff; }Hope it helps 🙂
June 1, 2016 at 8:28 am #1020000
NickGuideParticipantYes this works perfectly thank you!
Could you please just help me shift it over to the right hand side.Thanks again
June 1, 2016 at 8:38 am #1020014
ChristopherModeratorHi there,
Please add this :
p.p-info { width: 88%; }And update this code :
.x-topbar .p-info a.x-btn.x-btn-yellow-transparent { border: 4px solid #ffbf00; margin-bottom: 5px; }To :
.x-topbar .p-info a.x-btn.x-btn-yellow-transparent { border: 2px solid #ffbf00; margin-bottom: 5px; float: right; }Hope it helps.
June 1, 2016 at 8:48 am #1020025
NickGuideParticipantIt works perfectly once i am customizing it however once i save it and view the page out of the editior it goes back to the left side..
June 1, 2016 at 8:50 am #1020029
ThaiModeratorGlad it worked 🙂
If you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1019740 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
