Notifications
Clear all

wpForo 1.x.x [Solved] Hide element in css for mobile users?

3 Posts
2 Users
0 Reactions
1,303 Views
Posts: 42
Topic starter
(@needurhelp)
Trusted Member
Joined: 5 years ago

How can I hide an element using css for mobile users? I am using gamipress with wpforo but I noticed the achievements and points push down the content head on the right side in threaded mode so there is a big empty space above the username. I want to hide the achievements and thumbnail of gamipress points on mobile phones. I tried adding this to the style:

@media only screen and (max-width: 600px) {
.gamipress-wpforo-points-thumbnail {
display:none!important;
}
}

but it still shows up thumbnail image on mobile phones.
2 Replies
Sofy
Posts: 4878
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi @needurhelp,

Please try on incognito mode because mobile browsers have a hard cache.

1 Reply
(@needurhelp)
Joined: 5 years ago

Trusted Member
Posts: 42

@sofy

Yep, this fixed it. Thank you.