Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #781601

    Daphne D
    Participant
    This reply has been marked as private.
    #782262

    Rad
    Moderator

    Hi there,

    Where do you add it? I can’t find the code from your child theme’s functions.php

    Thanks.

    #783580

    Daphne D
    Participant

    I added it in my functions.php file in my FTP [see screenshot] — does it go somewhere else ??

    #783916

    Christopher
    Moderator

    Hi there,

    Seems like you’re trying to add it in sidebar, right?

    Instead of [x_social_global] add [x_share title="Share this Post" facebook="true" twitter="true" google_plus="true" linkedin="true" pinterest="true" reddit="true" email="true"] in text widget area.

    Hope it helps.

    #786989

    Daphne D
    Participant

    Thanks for the reply, however I’m not wanting to “share this post/page” — I thought from this thread that the question was about adding the social buttons from my footer [x_social_global] to my sidebar…? I’m just wanting to connect followers with my personal social profiles.

    #787144

    Christopher
    Moderator

    Hi there,

    Please add a text widget and insert following code :

    <div class="x-social-global"><a href="https://www.facebook.com/daphne.delay" class="facebook" title="Facebook" target="_blank"><i class="x-icon-facebook-square" data-x-icon="" aria-hidden="true"></i></a><a href="https://twitter.com/DaphneDelay" class="twitter" title="Twitter" target="_blank"><i class="x-icon-twitter-square" data-x-icon="" aria-hidden="true"></i></a><a href="https://vimeo.com/daphnedelay" class="vimeo" title="Vimeo" target="_blank"><i class="x-icon-vimeo-square" data-x-icon="" aria-hidden="true"></i></a><a href="https://www.instagram.com/daphnedelay/" class="instagram" title="Instagram" target="_blank"><i class="x-icon-instagram" data-x-icon="" aria-hidden="true"></i></a><a href="https://www.pinterest.com/daphnedelay/" class="pinterest" title="Pinterest" target="_blank"><i class="x-icon-pinterest-square" data-x-icon="" aria-hidden="true"></i></a></div>

    Hope it helps.

    #788923

    Daphne D
    Participant

    That did the trick! However, they are super small with zero spacing in between. Can I override some settings to make them larger and spaced evenly (preferably centered)?

    🙂

    #789267

    Jade
    Moderator

    Hi Daphne,

    You can add this under Custom > CSS in the Customizer.

    .x-sidebar .x-social-global {
        text-align: center;
    }
    
    .x-sidebar .x-social-global a {
        margin: 0 5px;
        font-size: 15px !important;
    }

    Hope this helps.

    #789333

    Daphne D
    Participant

    that did the trick! Thanks so much 🙂

    #790060

    Friech
    Moderator

    Glad we could help.

    Cheers!