• Here’s my site:
    https://www.motodesignz.com/mx/2012/08/30/test/

    As you can see there is no space between categories and comments.

    Here is the php coding:

    if ( comments_open() && ! post_password_required() ) :
    				echo '<span class="meta-comments-link">';
    					comments_popup_link( __( 'Leave a comment', 'wpstart' ), __( '1 Comment', 'wpstart' ), __( '% Comments', 'wpstart' ), 'comments-link' );
    				echo '</span>';
    			endif;

    I’ve tried two things, adding: <span class=”sep”> | </span>. But I could not figure out where to add, I added it in about 5 different spots and it broke my site everytime. I also just added | where it says ‘1 comment’. But thats a space within the link, I would like a seperator like this ” | ” that doesnt interfere or is within the comment link.

    I would simply like to add a seperator that looks like this ” | ” before “1 comment / Leave a comment”.

    Any help would be awesome!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try adding this to the end of your style.css:

    .cat-links {
        border-right: 2px solid;
        padding-right: 5px;
    }
    .meta-comments-link { padding-left: 5px; }
    Thread Starter ianbee

    (@ianbee)

    Try adding this to the end of your style.css:

    .cat-links {
    border-right: 2px solid;
    padding-right: 5px;
    }
    .meta-comments-link { padding-left: 5px; }

    Thanks it worked! I orignally planed on doing it thru php only, but either way you get the same results. Again, Thanks! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to put space in between categories and comments?’ is closed to new replies.