Ready to get started?Download WordPress


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

  1. solotr
    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?


  2. cybernetikz
    Plugin Author

    Posted 1 year ago #


    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>

    [ Signature moderated. ]

  3. cybernetikz
    Plugin Author

    Posted 1 year ago #

    Its working.

  4. cybernetikz
    Plugin Author

    Posted 1 year ago #


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic