• Resolved navyprintconcept

    (@navyprintconcept)


    Hi,

    I tried to center the icons but did something wrong:
    icons are centered but instead of horizontal are vertical.

    Could you help please?

    /* Widget Social Icons */
    .widget-social-icons li {
    float: none;
    margin: 5px 10px 5px 0;
    text-align: center;
    }
    .widget-social-icons li a {
    float:none;
    display: inline;
    }
    .widget-social-icons li a [class^=”ico-“]:before {
    width: 40px;
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 40px;
    background: #333;
    }
    .widget-social-icons li a:hover [class^=”ico-“]:before {
    background: #1fa0ae;
    }

    Many thanks!

    https://www.ads-software.com/plugins/social-media-icons-widget/

Viewing 1 replies (of 1 total)
  • Anonymous User

    (@anonymized-14476319)

    I’d add an inline-block to the li element- that should do the trick.

    .widget-social-icons li { display:inline-block; }

Viewing 1 replies (of 1 total)
  • The topic ‘Centre Widget’ is closed to new replies.