Notifications
Clear all

[Solved] Hide some buttons

11 Posts
2 Users
1 Reactions
113 Views
Posts: 6
Customer
Topic starter
(@christian-dillier)
Member
Joined: 1 month ago

How is it possible to hide some buttons in the menu? I have already tried the following via CSS without success:

.wpdiscuz-fem-email-comment.wpd-cta-button {visibility: hidden;}

.wpdiscuz-fem-email-comment.wpd-cta-button {display: none;}
10 Replies
Astghik
Posts: 5999
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

Hi,

Please let us know which buttons you want to hide, and we'll provide you with the CSS code to do so.

6 Replies
Customer
(@christian-dillier)
Joined: 1 month ago

Member
Posts: 6

@astgh

Good day

I would like to hide these two.
wpdiscuz-fem-unapprove-comment
wpdiscuz-fem-delete-comment

Maybe you can also solve it via a filter in php, so the arrangement would also be editable.

Many thanks

Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 5999

@christian-dillier 

The CSS codes are provided below: 

#wpdcom .wpd-tools-actions span.wpdiscuz-fem-approve-comment.wpd-cta-button {display: none !important;}
#wpdcom .wpd-tools-actions span.wpdiscuz-fem-delete-comment.wpd-cta-button {display: none !important;}

Please note, those buttons are visible only to high-level users such as admins, moderators, etc.

Customer
(@christian-dillier)
Joined: 1 month ago

Member
Posts: 6

@astgh Thank you for the CSS code.

I have another concern, I have already contacted the sale several times via e-mail, but I have not received an answer, can you help me here?

Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 5999

@christian-dillier 

Sure. Let us know how can we help you. 

Customer
(@christian-dillier)
Joined: 1 month ago

Member
Posts: 6

@astgh I wanted to implement the text color implementation, as it is possible in Foro, for Discuz. Here I was offered a button with color selection in the rich editor, which I would like to implement.

My question about this:
It can also be a dropdown with a predefined selection.
How would you integrate this so that future updates do not overwrite these changes?

Thank you very much

Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 5999

@christian-dillier

I don't follow you well. Could you please try to explain using some screenshots?

Posts: 6
Customer
Topic starter
(@christian-dillier)
Member
Joined: 1 month ago

@astgh I would like to extend the menu bar here.

screen

With the option to change the text color.

screen2
2 Replies
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 5999

@christian-dillier 

I've already asked the PRO support/custom development team to contact you. You will receive a response via email soon. 

Customer
(@christian-dillier)
Joined: 1 month ago

Member
Posts: 6

@astgh Thank you very much, we look forward to your feedback.

Share:
Scroll to top