Tagged: social icons, top bar
I am trying to make the social icons in the Top Bar larger than their default size.
I used this CSS to make the Top Bar taller and make the icons larger, but it had some unintended consequences:
#header_meta .container{
min-height: 40px;
}
#top .social_bookmarks li{
font-size: 28px;
padding: 5px;
border-right-style: none;
width: 40px;
}
Can you please show me a better way to make the social icons appear at a size of 28px? I would like the bar to be just large enough to contain them, and I would like the hover background to cover the entire icon. Finally, that CSS affected the social icons in the footer. That’s not needed. I only want to make the icons in the top bar larger.
Credentials are in private content.
Thanks in advance!
Hey AJDesignCo,
Could you post a link to the site in question so that we can take a closer look please?
Best regards,
Rikard
Goodness gracious…so sorry to omit that crucial detail. I’m sending it in the private content.
Hey!
I used the code as following
#header_meta .container{
min-height: 40px;
}
#header .social_bookmarks li{
font-size: 28px;
border-right-style: none;
width: 40px;
}
#header .social_bookmarks li a {
width: 40px;
height: 40px;
line-height: 40px;
}
Please review your website
Best regards,
Yigit
That’s near perfect. Thank you.
The only thing I added was 12px of padding to push the phone-info text down and center it within the top bar.
Thanks again!
Hi,
Great, glad you got it working and thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Thanks Rikard! That’s what I needed. You can close this topic.