The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Change join the dis...
 
Share:
Notifications
Clear all

[Solved] Change join the discussion text for main comment but not replies?

4 Posts
2 Users
0 Reactions
1,810 Views
Posts: 8
Topic starter
(@questions2020)
Active Member
Joined: 4 years ago

I can't figure out a way to do this. 

 

Thank you.

3 Replies
Asti
Posts: 7617
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

Hi @questions2020,

In case if the Rich Editor is enabled you can use the following CSS code: 

.wpd-secondary-form-wrapper .ql-editor.ql-editor:before {
content: "changed";
}

Put the code in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea, save it, delete all caches and check again. 

Please don't forget to press Ctrl+F5 (twice) on the frontend before checking.

In case if the Rich Editor is disabled you should use the jQuery code below

jQuery('#wpdcom .wpd-secondary-form-wrapper textarea').attr('placeholder', "changed");

This article may be helpful for you: https://www.collectiveray.com/add-javascript-to-wordpress

More info about the Rich Editor option can be found here: https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/comment-form/#load-rich-editor

2 Replies
(@questions2020)
Joined: 4 years ago

Active Member
Posts: 8

@asti Thank you for your reply.

This does the opposite of what I wanted. 

Instead of only the main comment being changed, it changes the replies, not the main content.

Thanks.

(@questions2020)
Joined: 4 years ago

Active Member
Posts: 8

/* Blank */
.wpd_main_comm_form div .ql-blank
.ql-blank:before {
content: "changed";
}

solves it. 

 

Thank you for your help. 

Share: