Notifications
Clear all

Styling the custom comment form fields

3 Posts
2 Users
0 Likes
1,999 Views
 Eli
(@juniortactician)
Member Customer
Joined: 7 years ago
Posts: 2
Topic starter  

Hi,

How do I go about changing the text, border and box fill colour of the custom comment form fields once my comment is posted?

The settings/styling does not allow me to change the colour of the areas circled in the attached picture.

Appreciate all your help.


   
Quote
 Tom
(@tomson)
Famed Member Admin
Joined: 9 years ago
Posts: 4172
 

You can use custom CSS. We can't add styling option for each component of wpDiscuz. Just put a custom CSS in Custom CSS Textarea (Comments > Settings > Styling Tab). For Example:

Custom Filed Label

#wpcomm .wpd-cf-label {
    background: #dd0000;
    color:#ffffff;
    border-bottom: 1px solid #aa0000;
    font-size: 13px;
    width: 29%;
}

Custom Filed Value

#wpcomm .wpd-cf-value {
    background: #eeeeee;
    color:#555555;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    width: 69%;
}

CSS Tutorial: https://www.w3schools.com/css/


   
ReplyQuote
 Eli
(@juniortactician)
Member Customer
Joined: 7 years ago
Posts: 2
Topic starter  

Excellent, just what I was after.

Thank you very much


   
ReplyQuote
Share:
Scroll to top