WordPress.org

Ready to get started?Download WordPress

Forums

Easy Social Icons
[resolved] Code to set margin for icons (4 posts)

  1. solotr
    Member
    Posted 1 year ago #

    I installed the plugin, but it's now in the far left hand margin of my theme. Site

    Here's the code in my single.php section of my Seismic Theme;
    <?php get_template_part( 'loop', 'single' ); ?>

    I entered this under it so that the icons will be under each post:
    <?php if ( function_exists('cn_social_icon') ) echo cn_social_icon(); ?>

    The icons look great, spacing is fine but it's too far to the left under my posts. Is there a way to move it right or center?

    http://wordpress.org/extend/plugins/easy-social-icons/

  2. cybernetikz
    Member
    Plugin Author

    Posted 1 year ago #

    hello,

    thanks to try this plugins. i have check your site but i think this code for each post "if ( function_exists('cn_social_icon') ) echo cn_social_icon()" is currently off, can you please active the code again so that i can see how it look exactly.

    you can use this code to place icon set in middle position.

    <div style="text-align:center"><?php if ( function_exists('cn_social_icon') ) echo cn_social_icon(); ?></div>

    thanks
    [ Signature moderated. ]

  3. cybernetikz
    Member
    Plugin Author

    Posted 1 year ago #

    Its working.

  4. cybernetikz
    Member
    Plugin Author

    Posted 1 year ago #

    Resolved

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic