Support » Plugin: Easy Social Icons » Code to set margin for icons

  • Resolved solotr


    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author cybernetikz



    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. ]

    Plugin Author cybernetikz


    Its working.

    Plugin Author cybernetikz



Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Code to set margin for icons’ is closed to new replies.