How to hide Stick a...
 
Notifications
Clear all

[Solved] How to hide Stick and Close buttons for guests?

25 Posts
2 Users
0 Reactions
4,082 Views
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6146
 

@anonimniq,

Please try the following CSS code, put it in "Custom CSS Code" textarea, located in the Dashboard > Comments > Settings > Styles admin page, delete all caches and check again.

label.wpd_label:first-child, label.wpd_label:nth-child(2) {
display: none !important;
}

   
ReplyQuote
(@anonimniq)
Eminent Member
Joined: 5 years ago
Posts: 21
Topic starter  

@astghik

This works great for new comment box, but buttons are still visible bellow the comments.


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6146
 

@anonimniq,

Please put this CSS code as well: 

span.wc_stick_btn.wc-cta-button, span.wc_close_btn.wc-cta-button {
display: none !important;
}

   
ReplyQuote
(@anonimniq)
Eminent Member
Joined: 5 years ago
Posts: 21
Topic starter  

@astghik

Perfect, problem is solved that way.


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6146
 

@anonimniq

Thank you for letting us know. Glad to hear that the issue is solved. 


   
ReplyQuote
Page 2 / 2
Share:
Scroll to top