Tagged: x
-
AuthorPosts
-
February 1, 2017 at 12:36 pm #1354030
ylplParticipantHi there,
My site is http://dev.ylpl.net/wordpress/
You’ll see in my topbar that I have a container split into 3 columns: Library Catalog, Calendar of Events, and Digital Library.
I’m trying to do 2 simple things and have looked into the X Support Center message board and Internet but nothing seems to work.
1. Is there any way for each column to have a hover color of blue? Currently, they are all linking to different things, which is great but I just want to make it more noticeable that they’re links.
2. Is there any way to eliminate the margin below those 3 columns so it’s sitting flush on top of my Menu? There seems to be something of a 10-15 pixel space below and my margins/padding is set to 0.
Thank you so much. I appreciate everything you guys do!
Daniel
February 1, 2017 at 2:32 pm #1354202
ylplParticipantSome good news! I figured out the hover issue on my 3 column container. So I just need some assistance with the margin/padding below the container. 🙂
Thanks again,
Daniel
February 1, 2017 at 2:57 pm #1354237
Nabeel AModeratorHi Daniel,
Thanks for writing in! I see there are empty
<p></p>tag in your topbar content. Try removing additional spaces from the content and then add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:.x-brand { margin-top: 0 !important; }Let us know how this goes!
February 1, 2017 at 5:21 pm #1354408
ylplParticipantHi there,
I can only see that tag in Inspect mode in my browser. I can’t seem to find those in my topbar content except for:
<p class=”p-info”>Could it be related to that? There seems to be some connection when I inspect the CSS.
Another thing I noticed that affects the spacing below is what I found in my CSS code:
.x-topbar .x-social-global {
margin-top: 120px;
clear: both;
position: ;
right: 51px;
display: none;
}I don’t think it serves a purpose on my site so when I eliminate this from my CSS, the spacing becomes even greater; therefore I’ve kept it for the time being. And I found a .social-global tag right underneath the <p></p> tag when inspecting it on my browser.
Could those two be related?
Thanks again,
Daniel
February 1, 2017 at 11:36 pm #1354790
Paul RModeratorHi Daniel,
Try removing any extra spaces or next line in your topbar content.
Then add this in Custom > Edit Global CSS in the customizer.
.x-topbar p:empty { display:none; }Hope that helps.
February 2, 2017 at 3:19 pm #1355741
ylplParticipantThat worked perfectly! Thank you so much! 🙂
February 2, 2017 at 9:26 pm #1356208
FriechModeratorWe’re delighted to assist you with this.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1354030 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
