• Hi,
    i need to add some space between where my posts end and the social share buttons, comment form etc..

    this is how single.php looks in my theme…

    <?php the_content(__('Read More ?', 'gp_lang')); ?>
    
    				</div>
    
    			<?php } else { ?>
    
    				<?PHP the_content(__('Read More ?', 'gp_lang')); ?>
    
    			<?php } ?> 
    
    			<!-- END POST CONTENT -->
    
    			<!-- BEGIN POST NAV -->
    
    			<?php wp_link_pages('before=<div class="clear"></div><div class="wp-pagenavi post-navi">&pagelink=<span>%</span>&after=</div>'); ?>		
    
    			<!-- END POST NAV -->
    
    			<!-- BEGIN POST TAGS -->
    
    			<?php if($gp_settings['meta_tags'] == "0") { ?><?php the_tags('<div class="post-meta post-tags"><span><i class="icon-tags"></i>', ', ', '</span></div>'); ?><?php } ?>
    
    			<!-- END POST TAGS -->
    
    			<!-- BEGIN AUHTOR INFO PANEL -->
    
    			<!-- END AUTHOR INFO PANEL -->
    
    			<!-- BEGIN RELATED ITEMS -->
    
    			<?php if($gp_settings['related_items'] == "0") { ?>
    				<?php echo do_shortcode('[related_posts id="" cats="" images="true" image_width="'.$gp_settings['related_image_width'].'" image_height="'.$gp_settings['related_image_height'].'" image_wrap="false" cols="4" per_page="4" link="both" orderby="random" order="desc" offset="0" content_display="excerpt" excerpt_length="0" title="true" title_size="12" meta="false" read_more="false" pagination="false" spacing="spacing-small" preload="false"]'); ?>
    			<?php } ?>		
    
    			<!-- END RELATED ITEMS -->			
    
    			<!-- BEGIN COMMENTS -->
    
    			<?php comments_template(); ?>
    
    			<!-- END COMMENTS -->
    
    		</div>
    
    		<!-- END PADDER -->
    
    	</div>
    
    	<!-- END CONTENT -->
    
    <?php endwhile; endif; ?>
    
    <?php get_footer(); ?>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Could anyone offer advice on what i need to add and where please?

    thanks very much

Viewing 5 replies - 1 through 5 (of 5 total)
  • This is almost certainly a CSS issue – please post a link to your site for any CSS questions.

    i need to add some space between where my posts end and the social share buttons, comment form etc..

    That’s a CSS issue – not a code one.

    Thread Starter fpats

    (@fpats)

    Oh ok.

    If you check this post

    I wanted to try and insert a divider or an extra line of space between the end of the post and the social share buttons if possible.

    [Oh – be serious! This is a free, volunteer-staffed forum – not online chat! No bumping. If it’s that urgent, consider hiring someone.]

    Try adding this to your CSS:

    .flare-horizontal, .flare-follow {
        border-top: 1px solid white;
        padding-top: 10px;
    }

    Thread Starter fpats

    (@fpats)

    That’s perfect, thanks for your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘php help, need to add some space at the end of posts’ is closed to new replies.