Tagged: x
-
AuthorPosts
-
May 18, 2016 at 6:58 pm #998353
ansonofficialParticipantHi Support,
I have put my social media buttons in my main nav bar, but I noticed now that when I hover on my social icons, the hover color goes slightly outside the box of the social media icon. How do I fix this?
Thanks,
Anson
May 18, 2016 at 6:58 pm #998354
ansonofficialParticipantThis reply has been marked as private.May 18, 2016 at 11:54 pm #998798
Nabeel AModeratorHi Anson,
Thanks for writing in! Please add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
.x-navbar .x-social-global a:hover { border-radius: 4px !important; padding: 0 !important; width: 17px !important; height: 16px !important; } .x-navbar .x-social-global a i { margin-top: -2px !important; }Let us know how this goes!
May 23, 2016 at 3:53 pm #1005983
ansonofficialParticipantHi again,
It works, but it creates a white gap between the nav bar and the slider of what I believe is 2px. How do it fix that?
Thanks,
Anson
May 23, 2016 at 9:15 pm #1006431
NicoModeratorHi There,
Would you mind sharing us a screenshot showing the gap or where the gap is located.
Not sure with this, but you can also try increasing the size or height of your navbar in your Customizer.
Or add this in your customizer custom CSS:
.home .masthead { min-height: 90px; }Once we got the screenshot and we full understand it, we’ll do our best to help you.
Let us know how it goes.
Thanks.
May 23, 2016 at 11:28 pm #1006554
ansonofficialParticipantOf course, it looks like this.
May 23, 2016 at 11:35 pm #1006558
ansonofficialParticipantThis is what it looks like
May 24, 2016 at 1:04 am #1006634
Paul RModeratorHi Anson,
You can try this code instead.
header.masthead { background:rgb(237,53,66)!important; } .x-navbar .x-social-global a:hover { border-radius: 4px !important; padding: 0 !important; width: 17px !important; height: 16px !important; } .x-navbar .x-social-global a i { margin-top: -2px !important; }Hope that helps
May 24, 2016 at 2:49 pm #1007837
ansonofficialParticipantIt worked, thanks!
May 24, 2016 at 5:47 pm #1008058
JadeModeratorYou’re welcome Anson.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-998353 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
