Tagged: x
-
AuthorPosts
-
July 4, 2016 at 11:22 am #1071720
SimonParticipantHi team,
I try to center my logo on top bar but i can’t.
With this :
img.frenchy-logo {
z-index:1;
display: block;
padding-left: auto;
padding-right: auto;}
Also I ‘d like removed the white edging under the topbar.
Can you help me ?
SimonJuly 4, 2016 at 11:24 am #1071724
SimonParticipantThis reply has been marked as private.July 4, 2016 at 11:29 am #1071733
ThaiModeratorHi There,
Please try with this CSS instead:
.x-topbar { min-height: 100px; } .x-topbar img.logo-frenchy { position: absolute; left: 50%; margin-left: -32px; }Hope it helps 🙂
July 5, 2016 at 3:26 am #1072575
SimonParticipantSo fast ! 🙂 It’s work thanks.
Possible to make the topbar fixed like the menu ?
July 5, 2016 at 3:46 am #1072595
Nabeel AModeratorHi again,
Yes that is possible, try adding the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript
jQuery(document).ready(function($){ $('header.masthead').next().css('margin-top', '200px'); });and then add the following CSS code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
header.masthead { position: fixed !important; width: 100% !important; z-index: 99999 !important; }Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!
July 5, 2016 at 5:27 am #1072690
SimonParticipantPerfect Nabeel ! 🙂
Big thanks to the team.
Simon
July 5, 2016 at 5:37 am #1072709
ThaiModeratorYou’re most welcome 🙂
If you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1071720 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
