Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #263858

    Hi,

    I was using non transparent background for Social Icons in Header (removing pseudo class :hover) but after update to 2.7.1 does not work any more.

    How can I override “background: transparent;” not to be transparent?

    Thanks.

    #top #wrap_all .social_bookmarks a, #top #wrap_all .social_bookmarks li {
    background: transparent;
    }

    • This topic was modified 10 years ago by tomitos.
    #263893

    get background color from parent:

    background-color: inherit;
    

    Or set the background color you want

    background-color: #ffffff;
    
    #263895

    Hi Flikk,

    I would like to overwrite property “background: transparent;” which comes with parent theme. I know I could do for every single icon, but I would like to override this “transparent” property.
    And not being so close to css ;)

    #263900

    transparent is the standard value for background.
    you can set the background with:

    .social_bookmarks>li {
        background-color: #ffffff;
    }
    #263904

    I do have set background for every icon, but now is overwriten by “transparent”.

    In previous versions was just needed to remove the hofer effect:
    https://kriesi.at/support/topic/remove-the-hover-effect-from-social-media-icons/

    And sure, if there is no way to remove this transparent property, I’ll add backgorund also to custom.css

    #263905

    Solved.

    I just add to my custom.css (changed social_bookmarks li{background: transparent;} to none;}
    #top #wrap_all .social_bookmarks, #top #wrap_all .social_bookmarks a, #top #wrap_all .social_bookmarks li{background: none;}

    And removed :hofer efect

    Thanks.

    • This reply was modified 10 years ago by tomitos.
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘colored background of Social icons’ is closed to new replies.