• Resolved ccpetersen

    (@ccpetersen)


    I’d like to fix the comments page code to have a space between each of the comments to my articles. RIght now they are all run together.

    blog: https://www.thespacewriter.com/wp

    Not sure which piece of code to fix to put in the “breathing space” between comments.

    thanks in advance.

    cc

Viewing 4 replies - 1 through 4 (of 4 total)
  • in style.css, try adding something like this:

    .class_comment1, .class_comment2 {
    padding-bottom:15px!important;
    margin-bottom:15px!important;
    }
    Thread Starter ccpetersen

    (@ccpetersen)

    Okay, I tried that, but it didn’t work.

    See here:

    https://thespacewriter.com/wp/2010/06/16/debris-sweeper-of-the-solar-system/

    the comments are still run up against each other.

    you made a syntax errors when putting the fix into style.css, leaving the new formats floating in space (matching the topic of your site; lol):

    this is your code:

    .class_comment1 {
    
    	background-color: #42223C;
    
    }
    
    {padding-bottom:15px!important;
    
    margin-bottom:15px!important;
    
    }
    
    	.class_comment2 {
    
    	background-color: #000000;
    
    }
    
    {padding-bottom:15px!important;
    
    margin-bottom:15px!important;
    
    }

    and this is how it has to look (corrected some of the brackets } { ):

    .class_comment1 {
    
    	background-color: #42223C;
    
    padding-bottom:15px!important;
    
    margin-bottom:15px!important;
    
    }
    
    	.class_comment2 {
    
    	background-color: #000000;
    
    padding-bottom:15px!important;
    
    margin-bottom:15px!important;
    
    }
    Thread Starter ccpetersen

    (@ccpetersen)

    Thank you! I had meant to go back and check those brackets and got sidetracked.

    You’ve been most kind.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘putting space between comments’ is closed to new replies.