Site logo

Archived topic

Add "Admin" text in the comments area

7 replies · Started by Sanu Kumar on December 24, 2021

Viewing posts 1–8 of 8

I'm looking to add "Admin" text just like WPBeginner is using (only where the author replied to the comments).

Screen-Capture-177-24-Must-Have-Word-Press-Plugins-Tools-for-Business-Sites-2021-www-wpbeginner-com

It looks nice on desktop but not looking good on Mobile

Hi there,

We're happy to point you in the right direction, but we can't design/make design decisions for you. If there's something specific you'd like to tweak (and can link us to an example), we'll be happy to take a look.

Thanks!

You have this CSS:

.verified-user .comment-author cite::after {
    content: 'Sanu Replied';
    margin-left: 640px;
    text-align: right;
    background: #FF6200;
    color: #fff;
    padding: 10px;
    font-size: 15px;
}

replace that with:

.verified-user .comment-author-info {
    width: 100%;
}
.verified-user .comment-author cite {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.verified-user .comment-author cite::after {
    content: 'Sanu Replied';
    text-align: right;
    background: #FF6200;
    color: #fff;
    padding: 10px;
    font-size: 15px;
}

thanks David

You're welcome

This archived topic is closed to new replies.