Notifications
Clear all

wpForo 1.x.x [Closed] How do I change background colour of the replies made?

5 Posts
2 Users
0 Reactions
2,354 Views
writetoyogen
Posts: 78
Topic starter
(@darjeeling)
Estimable Member
Joined: 6 years ago

To describe more let me tell that I am trying to change the background colour to the replies made (only replies).

https://screenshot.net/5y3woi4

Please refer image (Kindly look at the bottom of the image.)

Topic Tags
4 Replies
Sofy
Posts: 4802
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

HiΒ Yogen,

Use the following CSS code, put it in Dashboard > Comments > Settings > Styling > "Custom CSS code" textarea. Save it, delete all caches and do Ctrl+F5 on front-end.

#wpforo #wpforo-wrap .wpforo-comment .wpf-right .wpforo-comment-content {
background-color: #4a8eb3;
}

Don't forget to change the red marked color codes before using.

writetoyogen
Posts: 78
Topic starter
(@darjeeling)
Estimable Member
Joined: 6 years ago

(In case if you didn't get me)

This replied text should have different background for eg, #fffff or any other colour.

Sorry but the code you provided didn't worked for me.

Deleted cache, refreshed but no changes. Is there anything I need to do?

url: www.solvedanswer.com/community

1 Reply
writetoyogen
(@darjeeling)
Joined: 6 years ago

Estimable Member
Posts: 78
Posted by: writetoyogen

(In case if you didn't get me)

This replied text should have different background for eg, #fffff or any other colour.

Sorry but the code you provided didn't worked for me.

Deleted cache, refreshed but no changes. Is there anything I need to do?

url: www.solvedanswer.com/community

I just found out that the code to change background is working only for comments in Question and Answer Layout. This too is appreciable.

... But I want to have a different back ground colour for Reply in Extended Layout.

Sofy
Posts: 4802
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

HiΒ @writetoyogen,

ok, try the following CSS code. In case you'd prefer to save the QA layouts answers color don't delete the code I've provided before.

.wpforo-content .post-wrap:not(.wpfp-first) .wpforo-post{
background-color:#4a8eb3 !important;
}