Make the WordPress Comment of an Admin Stand-Out

To highlight the comment of an admin on post, go to your WP dashboard >> click on OptimizePress >> Blog Setting >> Modules >> Other Scripts >> Custom CSS >> insert the below code:


.bypostauthor {
margin-left: 30px;
background-color: #F1F9FF;
padding: 15px;
border-left: 2px solid #cfeaff !important;


For the Live Editor pages, you'll need to change the padding-left from 15px to 12% !important to adjust accordingly. Paste the below code to OptimizePress >> Dashboard >> Global Settings >> Custom CSS (sitewide):


.bypostauthor {
    margin-left: 30px !important;
    background-color: #dbe9f3;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 15px;
    border-left: 2px solid #cfeaff!important;
    padding-left: 12%;


In case you want to change the background color, replace #F1F9FF with your preferred hexadecimal color code.

Hexadecimal color codes can be found here:

Save your work when done.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.