Notifications
Clear all

wpForo 1.x.x [Closed] How to prevent forum users from PASTING / posting multiple colors and font sizes...??

2 Posts
2 Users
1 Reactions
1,132 Views
Posts: 52
Topic starter
(@novedddd)
Estimable Member
Joined: 3 years ago

Hi,

We have a growing forum and the software and the additional paid wpforo add-ons are working out pretty well. We have also successfully "hidden" both the font size and font color options from the editor. However...people are still able to cut and paste all sorts of colors and different font sizes. This makes a very chaotic messy looking forum. I need to find a way to "force" all post content to be a certain size font and also font color. Ideally, this could be done via css but I have tried to come up with a solution repeatedly via css, but I have not yet found way from preventing someone from copying and pasting and posting huge text and multiple colors. Does anyone have any ideas? Surely this can be done somehow. See the attached screenshot as an example of font sizes and color from a post that needs to be changed. How would we force this user from posting colors and span style sizes?? Surely there's a way...

 

Thanks!

1 Reply
Tutrix
Posts: 1475
(@tutrix)
Noble Member
Joined: 5 years ago

@noved

add this to custom css

#wpforo #wpforo-wrap .wpforo-post .wpforo-post-content p,
#wpforo #wpforo-wrap .wpforo-post .wpforo-post-content span {
 color: inherit !important;
 font-size: inherit !important;
}

Dashboard > Forums > Settings > Style (custom css)