• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

CSS help- styling author’s comments

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › CSS help- styling author’s comments

This topic is: resolved

Tagged: bypostauthor, comments, css

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 5 months ago by cookieandkate.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 15, 2014 at 6:21 am #94917
    cookieandkate
    Member

    Hi,

    I'm stumped. I want to style my comments on my new design like my old design. I've gotten close, but I'm not quite there.

    Here's a screenshot of my old comment format (left) and my current comment format (right): http://i.imgur.com/NAgjfo1.png

    (You can see my current format in action here.)

    I want to remove the extra border-bottoms that appear below each comment thread. I also want the left borders of my comments (my name's Kate) to be green (like my old site). Readers' comments left borders can be black. I want a small white space between each reply (also like my old site).

    Does anyone know how to accomplish this? I would be so thankful for your help! The current formatting is driving me crazy and I just can't figure out how to fix it.

    Thank you,
    Kate

    http://cookieandkate.com
    March 16, 2014 at 8:39 am #95133
    Sridhar Katakam
    Participant

    Add the following in style.css:

    li.comment {
        border-bottom: none;
    }
    
    .comment-list li li {
        border-left: none;
    }
    
    .comment-list li li > article {
        border-left: 3px solid #e0e9ce;
        padding-left: 1rem;
    }
    
    .comment-list li li li {
        margin-left: 0;
    }
    
    .comment-list li li li > article {
        border-left: 3px solid #ddd;    
    }
    
    .comment-list li li li.bypostauthor > article {
        border-left: 3px solid #e0e9ce;
    }

    Genesis Tutorials | Follow me on Twitter

    June 1, 2014 at 4:42 pm #107781
    cookieandkate
    Member

    Sridhar, somehow I missed your comment way back when! Thank you very much for your help! I finally have the comments looking the way I want them to, based on your code.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble