Notifications
Clear all

[Closed] png or gif transperant

5 Posts
2 Users
1 Likes
233 Views
Posts: 3
Topic starter
(@ikoboy)
Active Member
Joined: 4 months ago

Hi, The same png file can display a transparent background on a general wordpress page, but it will have a white background color on Wpforo. What if it can also have a transparent effect on Wpforo?

Thanks!

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

Hi @ikoboy

add this to custom css

#wpforo #wpforo-wrap .wpforo-post .wpforo-post-content img,
#wpforo #wpforo-wrap .wpforo-revision-body img,
#wpforo #wpforo-wrap .wpforo-post .wpforo-post-attachments img,
#wpforo #wpforo-wrap .wpforo-post .wpf-right .wpforo-post-content .wpfa-item.wpfa-img img {background: transparent !important;}

Dashboard > wpForo > Settings > Colors & Styles > Custom CSS

3 Replies
(@ikoboy)
Joined: 4 months ago

Active Member
Posts: 3

Posted by: @tutrix

Hi @ikoboy

add this to custom css

#wpforo #wpforo-wrap .wpforo-post .wpforo-post-content img,
#wpforo #wpforo-wrap .wpforo-revision-body img,
#wpforo #wpforo-wrap .wpforo-post .wpforo-post-attachments img,
#wpforo #wpforo-wrap .wpforo-post .wpf-right .wpforo-post-content .wpfa-item.wpfa-img img {background: transparent !important;}

Dashboard > wpForo > Settings > Colors & Styles > Custom CSS

Hi @tutrix

Thank you so much, works now, but one more thing please, Avatar also can transparent?

 

Tutrix
(@tutrix)
Joined: 4 years ago

Noble Member
Posts: 1186

@ikoboy 

#wpforo #wpforo-wrap .avatar {background: transparent !important;}
(@ikoboy)
Joined: 4 months ago

Active Member
Posts: 3

@tutrix 

Thanks again! it works!