Tagged: x
-
AuthorPosts
-
August 15, 2016 at 10:53 pm #1132929
thelistenerParticipantHi there!
I’m working on a site based on the Ethos stack (here’s the link to the site) and I am trying to add some phone numbers to the right of the logo. As you can see, the logos are stuck near the logo.I am using a child theme and followed the instructions here (https://community.theme.co/forums/topic/adding-text-to-the-right-of-logo-in-renew-stack/) but now I don’t know how to adjust the text so it’s
1) Flush right of the logo
2) padded to the left 20px like the logo
3) even top and bottom spacing in the navbar itself
4) Hidden on mobile (see attached pic)THANKS IN ADVANCE!
August 16, 2016 at 3:06 am #1133152
ChristopherModeratorHi there,
Please update your CSS to :
.x-text-logo { float: right; margin-top: 22px; line-height: 22px; text-align: right; padding-left: 20px; }3) even top and bottom spacing in the navbar itself
4) Hidden on mobile (see attached pic)Please provide us with screen shot.
Thanks.
August 16, 2016 at 7:23 am #1133421
thelistenerParticipantHi Christopher,
The updated CSS did align the text vertically with the logo but it’s still not to the right of the whole logobar. Also, I need to know how to hide the text on mobile.
August 16, 2016 at 10:44 am #1133698
RupokMemberHi there,
You an add this as well :
.x-brand { float: none; padding-right: 10px; }To hide this on mobile; you can use this :
@media only screen and (max-width: 767px) { .x-text-logo { display: none; } }Hope this helps.
August 16, 2016 at 11:32 am #1133794
thelistenerParticipantAMAZING SERVICE AND HELP, THANK YOU!!!!!
August 16, 2016 at 12:38 pm #1133904
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1132929 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
