• 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

highlight author 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 › highlight author comments

This topic is: not resolved

Tagged: Author, comments

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 2 months ago by gretchenlouise.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 16, 2013 at 4:45 pm #12455
    gretchenlouise
    Member

    I was able to easily highlight author comments using this CSS:

    li.bypostauthor {
    background: #EEF2E6 !important;
    }

    But when nested comments go three deep or more, any commenter who replies to the author is also highlighted (as at http://kindredgrace.com/stepping-forward-in-grace/#comment-8898).

    Tips?  Thank you!

    January 27, 2013 at 12:45 am #15250
    Bill Murray
    Member

    Near line 1036 in your child theme stylesheet, for your .comment class, you need to override the styling you set in .bypostauthor. Since your .bypostauthor changes the background color, you need your .comment class to specify whatever the default background is for your comment area.

    Threaded comments that reply to your comment will still carry some of YOUR background color because of the padding, but you'll get closer to what you want.

    It would take custom classes to get better separation between your and other comments.


    Web: https://wpperform.com or Twitter: @wpperform

    We do managed WordPress hosting.

    January 28, 2013 at 1:31 pm #15619
    gretchenlouise
    Member

    Thank you! It would be great to see a method for better author highlighting worked into the Genesis framework, but this works for now!

  • 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

© 2023 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