Tagged: x
-
AuthorPosts
-
September 27, 2016 at 8:01 am #1192216
[email protected]ParticipantI have a topbar on this website http://dev.standredekamouraska.ca and I wold like to have the text aligned right but 20px at the left of the social icons. I have tried to paste some of the CSS for topics like this one on this forum but the text is at the right of the social icons.I would also like to view the hover state on the links of the topbar.
X theme version 4.6.2
Cornerstone v 1.3.2
September 27, 2016 at 8:07 am #1192226
ThaiModeratorHi There,
Please add the following CSS under Customizer > Custom > Global CSS:
.x-topbar .p-info { float: right; margin-left: 20px; }Hope it helps ๐
September 27, 2016 at 8:25 am #1192250
[email protected]ParticipantThe text is now on the right side but I want the social icon to be at the right of the text with a 20px distance between the text and the Facebook icon.
I would also like to have the hover state on the links.
Thankโs for the fast support.
September 27, 2016 at 8:47 am #1192277
ChristianModeratorIn that case, please change the code given previously to
.x-topbar .p-info { width: 93%; text-align: right; }Thanks.
September 27, 2016 at 8:58 am #1192286
[email protected]ParticipantThank you Christian. It works but it is not very responsive.
On smaller screen size the icon go centred under the text.
September 27, 2016 at 9:06 am #1192308
ChristianModeratorHey there,
Yes, it is not responsive and you’ll need extra media query for that. I can only give a simple one as this is outside the scope of our support. Change the code to
.x-topbar .p-info { width: 90%; text-align: right; } @media (max-width:767px) { .x-topbar .p-info { width: 100%; text-align: center; } }Regarding the social icon, that really falls below the topbar info and centered. Additional media query is required to reposition that. You might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/
Thanks.
September 27, 2016 at 9:11 am #1192311
[email protected]ParticipantThank you Christian. It will be ok with this code.
Can you help me with the hover state of the links please?
September 27, 2016 at 9:14 am #1192316
JoaoModeratorHi There,
Please add the following the code to Appereance > Customizer > Custom > CSS
.x-topbar .p-info a:hover { color: red; }Hope it helps
Joao
September 27, 2016 at 9:14 am #1192318
ChristianModeratorTo change the color on hover, please add the code
.x-topbar .p-info a:hover { color: red; }Thanks.
September 27, 2016 at 9:18 am #1192320
[email protected]ParticipantGreat!
Thank you all support team.
September 27, 2016 at 9:27 am #1192328
ThaiModeratorYou’re most welcome ๐
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1192216 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
