Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum   wpForo Support Forum

[Solved] how to use default style and dark style at different pages  

  RSS

ryan gao
(@superhawk)
Member Customer
Joined: 10 months ago
Posts: 13
29/08/2019 6:01 pm  

Hi team  

my site has a category using dark style, while other pages are default style ,is there a way to use dark style wpdiscuz  in one category  and default  style in other pages?

 

thanks!


Quote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 4129
30/08/2019 1:20 pm  

Hi @superhawk,

If you're a develpoer you can do it using the following hook:

wpdiscuz_container_classes

You should add a PHP code in your active theme. You should add the "wpd-dark" class on all forms where you need to load the wpDiscuz with dark style. 


ReplyQuote
ryan gao
(@superhawk)
Member Customer
Joined: 10 months ago
Posts: 13
30/08/2019 2:09 pm  

@astghik

Thanks a lot


ReplyQuote
Share: