Tagged: x
-
AuthorPosts
-
April 12, 2016 at 9:06 am #878335
newskywebsitesParticipantHi there, I’m working on this site: http://c84.f15.myftpupload.com and I’d like the top bar to have all the content right aligned in white text with a #f1f1f1 hover effect on the links. This includes the Facebook icon. The Facebook icon is there presently, but invisible, because it’s teal on a teal background.
So far I have this CSS code in place:
.x-topbar .p-info a {
border-bottom: 0;
}.x-topbar {
background-color: #359183;
margin: 0px;
}.x-topbar {
text-color: #ffffff;
margin: 0px;
}And here is my top bar code:
<span style=”color:#ffffff;”>CALL </span><span style=”color:#ffffff;”>262.993.5336</span>
<span style=”color:#ffffff;”> | </span><span style=”color:#ffffff;”>EMAIL</span></span>
Can you please give me detailed instructions? I’m using WP 4.4.2 and parent X theme 4.4.1. Cornerstone 1.2.3.
Thanks!
DawnApril 12, 2016 at 6:07 pm #879074
DarshanaModeratorHi there,
Thanks for writing in! You can add this under Custom > CSS in the Customizer and change the color values accordingly.
.x-topbar .p-info { float: right; } .x-topbar .x-social-global a { color: #ffffff; } .x-topbar .x-social-global a:hover { color: #336699; }Hope that helps.
April 13, 2016 at 9:16 am #880069
newskywebsitesParticipantThis worked perfect for the colors! Thanks so much! But is there a way to put the facebook icon on the right of the text instead of on the left? http://c84.f15.myftpupload.com/
Thanks!!
DawnApril 13, 2016 at 4:24 pm #880894
FriechModeratorHi Dawn,
You can add this under Custom > Global JavaScript in the Customizer.
jQuery( document ).ready(function() { jQuery(".x-topbar .x-social-global").insertBefore(".x-topbar .p-info"); });Hope it helps, Cheers!
April 14, 2016 at 4:00 pm #883060
newskywebsitesParticipantPerfecto! Thanks so much!!
DawnApril 15, 2016 at 1:42 am #883759
Paul RModeratorYou’re welcome! 🙂
April 15, 2016 at 8:07 am #884231
newskywebsitesParticipantThe code you gave me works really nice on the desktop version of the site, but it bumps to two lines from smaller screen sizes and mobile. (facebook icon is on it’s own line). See screenshot. Is there a fix for this?
Thanks!
DawnApril 15, 2016 at 8:08 am #884233
newskywebsitesParticipantsorry, file was too big. here is screenshot…
April 15, 2016 at 8:50 pm #885108
FriechModeratorHi There,
Yeah, sorry to overlook that. Your screenshot is too small 🙂
You can add this under Custom > CSS in the Customizer.@media (max-width: 767px) { .x-topbar .x-social-global {float: right;} }Hope it helps, Cheers!
April 18, 2016 at 1:11 pm #888698
newskywebsitesParticipantThank you, but that didn’t work for mobile. See attached screenshot. Now there is a border around the text and the social media logo is bumped slightly down. I’m sending my login privately in case that can speed this along. Thanks!!
April 18, 2016 at 1:12 pm #888703
newskywebsitesParticipantThis reply has been marked as private.April 19, 2016 at 1:31 am #889377
ChristopherModeratorHi there,
Please add this as well :
@media (max-width: 767px){ .x-topbar .p-info { border: none; } }Hope it helps.
April 20, 2016 at 2:10 pm #892347
newskywebsitesParticipantThank you. That removed the border, but the alignment is still not even. As seen in the previous screenshot, the text is higher than the icon…
Thanks!
DawnApril 21, 2016 at 2:13 am #893154
RupokMemberHi Dawn,
Thanks for writing back. Sorry we missed that somehow. Kindly update the suggested code to following :
@media (max-width: 767px){ .x-topbar .p-info { border: none; } .x-topbar .x-social-global a { margin-top: -5px; } }Hope this helps.
Cheers!
April 21, 2016 at 3:41 pm #894289
newskywebsitesParticipantThat works! Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-878335 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
