Notifications
Clear all

wpForo 1.x.x [Closed] Set the background to dark mode.

5 Posts
3 Users
1 Reactions
1,480 Views
Posts: 2
Topic starter
(@tc-ali)
New Member
Joined: 3 years ago

Hello, can I make the background of my site transparent or synchronized with that in the wordpress theme? How do I prevent it from staying white when I switch to dark mode.

4 Replies
Tutrix
Posts: 1504
(@tutrix)
Noble Member
Joined: 5 years ago

Hi @tc-ali

you can set the background transparent with this code

add this to custom css

#wpforo #wpforo-wrap {
background: transparent;
}

Dashboard > Forums > Settings > Style (custom css)

but first check out the Theme Styles

you need more help, then give us a url to your forum-page

Posts: 2
Topic starter
(@tc-ali)
New Member
Joined: 3 years ago

Thank you very much for your support.
the background became transparent but the categories remained white. Can I make those parts transparent as well? I added attachment.
thank you.

1 Reply
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3627

@tc-ali,

use the Custom CSS field option for those fields.

Tutrix
Posts: 1504
(@tutrix)
Noble Member
Joined: 5 years ago

@tc-ali

You can have a look at the plugin WP Dark Mode

I test the plugin at the moment also on my page 😉