Tagged: x
-
AuthorPosts
-
June 22, 2016 at 12:47 am #1053794
Simon TParticipantHi guys,
Just wondering if I can add a standard button to the top right of the topbar to replace social icons? Just want a contact button that links to my contact page.
Thanks in advance!
June 22, 2016 at 3:14 am #1053946
ChristopherModeratorHi there,
To hide social icons in topbar, please add following code in Customize -> Custom -> CSS :
.x-topbar .x-social-global{ display:none; }To add button, please insert this code in topbar content area :
<a class="x-btn real square mini" href="#example" title="Example">Square Button</a>Hope that helps.
June 22, 2016 at 4:37 am #1054012
Simon TParticipantThanks it did, but how to I make the button display at the top right where the social Icons would normally be?
June 22, 2016 at 7:33 am #1054207
JoaoModeratorHi Simon,
Please add the following code to Appereance Customizer Header > Topbar Content:
<a class="my-button" href="#">Donate</a>And add the following code to Appereance Customizer Custom CSS
.x-topbar .x-social-global{ display:none; } .my-button{ background:red; color:white; display:inline-block; padding:10px; } .my-button:hover{ background:blue; color:white; display:inline-block; padding:10px; } .x-topbar .p-info { float: right; }Hope that helps,
Joao
June 22, 2016 at 8:19 pm #1055455
Simon TParticipantThats great, but I also have topbar content at the top left so I just want the button to move to the top right, not all of the topbar content?
June 23, 2016 at 12:48 am #1055818
Rue NelModeratorHello There,
Thanks for the updates! To assist you better with this issue, would you mind providing us the url of your site with login credentials, if necessary, so we can take a closer look? 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.
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password (only if necessary)Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thank you.
June 23, 2016 at 12:55 am #1055828
Simon TParticipantThis reply has been marked as private.June 23, 2016 at 1:11 am #1055837
Simon TParticipantCould you please also advise how to make the button a pill like the other buttons on my site? Thanks!!
June 23, 2016 at 4:03 am #1055979
LelyModeratorHi Simon,
Thank you for the credentials.
Please update this part:.x-topbar .p-info { float: right; }To this:
.x-topbar .p-info { width: 100%; }Then also add this:
.x-topbar .p-info a.my-button { float: right; }To make the button pill please update the button code to this:
<a class="my-button x-btn x-btn-pill">Make a booking</a>Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1053794 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
