Tagged: x
-
AuthorPosts
-
January 30, 2017 at 5:01 pm #1351456
jensmith3ParticipantHello,
My site is at dev.shsp.com.au
In my topbar I have added the following:
<p class=”alignright”; >02 4862 5063</p>
AND added this to my child theme:
}
.x-topbar-inner p { font-size: 24px; color: #fff; }The content in the topbar works fine but the style adjustments don’t. What have I missed?
SECONDLY:
I would like to right-align the social icons in the header so that the phone number and Facebook items are both right-aligned.THIRDLY:
Is it possible to align the bottom of the logo with the bottom of the text in the nav bar?Thank you so much and kind regards,
Jenny
January 30, 2017 at 5:02 pm #1351458
jensmith3ParticipantThis reply has been marked as private.January 30, 2017 at 10:05 pm #1351749
jensmith3ParticipantAlso, is it possible to top align both the logo and the phone number?
Thanks again,
Jenny
January 30, 2017 at 10:54 pm #1351774
Prasant RaiModeratorHello Jenny,
Thanks for writing in!
You can add this under Custom > CSS in the Customizer:
.x-topbar-inner p { font-size: 24px; color: #000; } .x-topbar .x-social-global a { color: #ddd; } .x-topbar .x-social-global { clear: both; float: right; }Can you please elaborate third question?
Thanks.
January 30, 2017 at 11:23 pm #1351798
jensmith3ParticipantThanks so much,
Almost perfect, just a couple of tweaks. Can I align the top of the logo with the top of the phone number on the right-hand side?
Also, can I change the size and colour of the Facebook icon?
With thanks and kind regards,
Jenny
January 31, 2017 at 3:06 am #1351959
ChristopherModeratorHi there,
Please add logo to topbar, to do so insert following code in topbar area :
<a href="http://dev.shsp.com.au/" style="float:left;" title="Speech pathology in the NSW Southern Highlands"> <img src="//dev.shsp.com.au/wp-content/uploads/2016/12/logo.jpg" alt="Speech pathology in the NSW Southern Highlands"></a>To hide logobar, add following code in customizer :
.x-logobar { display: none; }Hope it helps.
January 31, 2017 at 3:13 am #1351972
jensmith3ParticipantWonderful, thanks so much. Is it possible to reduce the size of the logo or should I reduce the original image size itself?
Thanks so much.
Kind regards,
Jenny
January 31, 2017 at 3:16 am #1351976
jensmith3ParticipantAnd sorry, also to have the social Facebook icon right-aligned underneath the phone number and the same font size?
Thanks again,
Jenny
January 31, 2017 at 5:53 am #1352132
Paul RModeratorHi Jenny,
Kindly change the code to this.
<a href="http://dev.shsp.com.au/" style="float:left;" title="Speech pathology in the NSW Southern Highlands"> <img width="100" src="//dev.shsp.com.au/wp-content/uploads/2016/12/logo.jpg" alt="Speech pathology in the NSW Southern Highlands"></a>Then add this in custom css
.x-topbar .x-social-global { top: 50px; position: absolute; right: 0; } .x-topbar .x-topbar-inner { position:relative; }Hope that helps.
January 31, 2017 at 4:36 pm #1352860
jensmith3ParticipantToo good, thank you. Is it possible to also alter the background color and size of the hover state of this?
Indebted,
Kind regards,Jenny
January 31, 2017 at 8:48 pm #1353117
NicoModeratorHi There,
Add this in your Custom CSS:
.x-social-global a:hover.facebook{ background-color:#3b5998; }Let us know how it goes.
Thanks.
January 31, 2017 at 9:20 pm #1353135
jensmith3ParticipantHello again,
That’s great thank you. Is it possible to change the colour of the ‘f’ in the social icon so that it stands out in the hover state?
Many thanks and kind regards,
Jenny
February 1, 2017 at 2:37 am #1353346
Paul RModeratorHi Jenny,
You can add this under Custom > Edit Global CSS in the Customizer.
/* default state */ .x-topbar .x-social-global a i { font-size: 20px; color:blue; } /* hover state */ .x-topbar .x-social-global a:hover i { color: red; }Hope that helps.
February 1, 2017 at 3:21 am #1353383
jensmith3ParticipantAbsolutely awesome – thank you so much.
Kind regards,
Jenny
February 1, 2017 at 4:50 am #1353453
LelyModeratorYou’re welcome Jenny!
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1351456 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
