Themeforest

Icon positioning incorrect with slide out social media tabs

If you occassionally get problems with the icons not being positioned correctly for slide out tabs when first visiting a page this can be caused by jQuery creating the icon buttons before the images have downloaded.

The problem can easily be solved by adding a CSS rule to your theme’s style sheet, which sets the icon dimensions. If you are using the default icon set you can use the following CSS:

.social-tabs li img {
width: 32px;
height: 32px;
}

If you are using a different icon set check the dimension of the icon images and edit the CSS accordingly.

1 Comment

  • Hi, I changed the pixles to 0×0 so the icon did not show up (what I want) but now there is a space above the “find us on facebook” part that I would like to get rid of. how do you get rid of the icon image completely (without the space)?

    Thanks

Leave a comment

To add code to your comments wrap the code text in [text][/text] tags