1. Home
  2. Knowledge Base
  3. General Customizations
  4. Make the WordPress Comment of an Admin Stand-Out

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: http://htmlcolorcodes.com/

Save your work when done.

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
Contact Support