Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1267639

    I used this code to add these bookmarks to my homepage:
    <ul class="noLightbox social_bookmarks icon_count_2"><li class="social_bookmarks_twitter av-social-link-twitter social_icon_1"><a target="_blank" href="http://twitter.com" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Twitter"><span class="avia_hidden_link_text">Twitter</span></a></li><li class="social_bookmarks_facebook av-social-link-facebook social_icon_2"><a target="_blank" href="http://facebook.com" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Facebook"><span class="avia_hidden_link_text">Facebook</span></a></li></ul>

    Then I added this to the CSS: .widget .social_bookmarks li { clear: none !important; }

    However, as you can see it is on the left and small. I want it to look exactly like it does on this enfold site: https://www.goingthewholehogg.com/

    Here is what it looks like on mine:screen shot of icons on my site

    #1267678

    Hey samanthashea,

    Please add this CSS code in Quick CSS, located in Enfold > General Styling:

    #top .avia-builder-widget-area .custom-html-widget .social_bookmarks {
        text-align: center;
    }
    
    #top .avia-builder-widget-area .custom-html-widget .social_bookmarks li {
        float: none;
        display: inline-block;
        border: none;
        margin: 0 10px;
    }

    Best regards,
    Nikko

    #1267938

    Thank you this worked for centering.

    Now Can you please help me increase the icon size and make it half way in between “Follow Me” and “Countries”

    screen shot provided of what it looks like now.

    Thank you!

    • This reply was modified 3 years, 11 months ago by samanthashea.
    #1268012

    Hi samanthashea,

    Please replace the code I gave:

    #top .avia-builder-widget-area .custom-html-widget .social_bookmarks {
        text-align: center;
    }
    
    #top .avia-builder-widget-area .custom-html-widget .social_bookmarks li {
        float: none;
        display: inline-block;
        border: none;
        margin: 0 10px;
    }

    to:

    #top .avia-builder-widget-area .custom-html-widget .social_bookmarks {
        text-align: center;
        position: relative;
        top: 30px;
    }
    
    #top .avia-builder-widget-area .custom-html-widget .social_bookmarks li {
        float: none;
        display: inline-block;
        border: none;
        margin: 0 10px;
        font-size: 30px;
    }

    Hope it helps.

    Best regards,
    Nikko

    #1268194

    Thank you everything worked perfectly. Sorry I should have asked this before but how can I change the color of this to #798eb3 ? I tried adding “color” beneath what you gave me but nothing happened. After this is fixed we can close this topic.

    #1268236

    Also, I tried adding the Pinterest icon by just copying this code. Unfortunately it just added a second Instagram icon. Why is that? This is the full code. All show up correctly except Pinterest:

    <ul class="noLightbox social_bookmarks icon_count_2"><li class="social_bookmarks_twitter av-social-link-twitter social_icon_1"><a target="_blank" href="http://twitter.com" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Twitter"><span class="avia_hidden_link_text">Twitter</span></a></li><li class="social_bookmarks_facebook av-social-link-facebook social_icon_2"><a target="_blank" href="http://facebook.com" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Facebook"><span class="avia_hidden_link_text">Facebook</span></a></li>
    <li class="social_bookmarks_instagram av-social-link-instagram social_icon_2"><a target="_blank" href="http://instagram.com" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Instagram"><span class="avia_hidden_link_text">Instagram</span></a></li>
    <li class="social_bookmarks_pinterest av-social-link-pinterest social_icon_2"><a target="_blank" href="http://pinterest.com" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Pinterest"><span class="avia_hidden_link_text">Pinterest</span></a></li>
    </ul>
    #1268568

    Can someone please help me with this

    #1268601

    Hi samanthashea,

    Can you try with this code instead:

    <ul class="noLightbox social_bookmarks icon_count_2">
    <li class="social_bookmarks_twitter av-social-link-twitter social_icon_1"><a target="_blank" href="http://twitter.com" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Twitter"><span class="avia_hidden_link_text">Twitter</span></a></li>
    <li class="social_bookmarks_facebook av-social-link-facebook social_icon_2"><a target="_blank" href="http://facebook.com" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Facebook"><span class="avia_hidden_link_text">Facebook</span></a></li>
    <li class="social_bookmarks_instagram av-social-link-instagram social_icon_2"><a target="_blank" href="http://instagram.com" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Instagram"><span class="avia_hidden_link_text">Instagram</span></a></li>
    <li class="social_bookmarks_pinterest av-social-link-pinterest social_icon_2"><a target="_blank" href="http://pinterest.com" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Pinterest"><span class="avia_hidden_link_text">Pinterest</span></a></li>
    </ul>

    Best regards,
    Nikko

    #1268705

    Great thanks, this worked :)

    #1268722

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘How can I center-align this social bookmarks widget?’ is closed to new replies.