AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Hide element in css for mobile users?

3 Posts
2 Users
0 Reactions
1,978 Views
Posts: 42
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@needurhelp)
Trusted Member
Joined: 7 years ago
[#10262]

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: 5776
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Hi @needurhelp,

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


1 Reply
(@needurhelp)
Joined: 7 years ago

Trusted Member
Posts: 42
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@sofy

Yep, this fixed it. Thank you.


Share: