Notifications
Clear all

[Solved] Spoiler - color of background and fonts

5 Posts
3 Users
0 Reactions
2,666 Views
(@joanna)
New Member
Joined: 6 years ago
Posts: 3
Topic starter  

Hello,

Could you please help me with adding spoilers in wpDiscuz? I had problems with colors, my theme is in dark colors - I had light grey of background and white fonts - I was blurred. Then I added css as it was sugested in this post -  https://wordpress.org/support/topic/how-to-change-quote-code-spoiler-box-color/#post-10072683%C2%A0 - and it is better now - I put code in Styling admin:

.comments-area{width:auto;}
#wpcomm p code {
background-color: black;
}
#wpcomm .wpdiscuz-spoiler-wrap .wpdiscuz-spoiler {
background-color: black;
}
#wpcomm p blockquote{
background-color: black;
}

But it is still not changed when you roll down the text:

spoiler wpdiscuz

Could you please advice what code should I add to fix it?

Thank you, Joanna


   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6193
 

Hi Joanna,

Could you please leave your website URL to allow us to check it and provide some CSS solution for you? 


   
ReplyQuote
(@joanna)
New Member
Joined: 6 years ago
Posts: 3
Topic starter  

Of course, no problem. Link  https://www.serialkoloczasu.pl/ This is very new site, and there are only my own comments in this post  https://www.serialkoloczasu.pl/podsumowanie-qa-z-12-wrzesnia/ This site is UnderConstrucion all the time but I took it off for you 🙂


   
ReplyQuote
Arina
(@arina)
Support Team
Joined: 11 years ago
Posts: 101
 

@joanna,

Please navigate to Dashboard > Comments > Settings > Styling admin page, put the following CSS code in "Custom CSS Code", save it delete all caches, and check again:

.wpdiscuz-spoiler-content {
background-color: #000 !important;
}

   
ReplyQuote
(@joanna)
New Member
Joined: 6 years ago
Posts: 3
Topic starter  

It works 🙂 Thank you for your help! You are great!


   
ReplyQuote
Share:
Scroll to top