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

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Solved] How to remove voting on the first post in a question

3 Posts
2 Users
0 Reactions
1,972 Views
Posts: 38
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
(@annabwashere)
Trusted Member
Joined: 7 years ago
[#8690]

I am using the Q&A to allow members to enter a competition. The "question" has been repurposed into the details of the competition and doesn't need to have voting buttons on it.

I have tried using CSS to hide it but it only works on desktop, not mobile:

#wpforo #wpforo-wrap .wpfl-3 .cat-stat-posts, #wpforo #wpforo-wrap .wpfl-3 .cat-stat-answers, #wpforo #wpforo-wrap .wpfl-3 .cat-stat-questions, #wpforo #wpforo-wrap .wpfl-3 .wpforo-forum-stat-questions, #wpforo #wpforo-wrap .wpfl-3 .wpforo-forum-stat-answers, #wpforo #wpforo-wrap .wpfl-3 .wpforo-forum-stat-posts {display:none;}

#wpforo #wpforo-wrap .wpfl-3 .wpforo-last-topic {width: 20%!important;}

#wpforo #wpforo-wrap .wpfl-3 .wpfp-first .wpforo-post .wpf-left {display:none;}
#wpforo #wpforo-wrap .wpfl-3 .wpfp-first .wpforo-post .wpf-right {margin-left:0!important;}

@media screen and (max-width: 480px) {
#wpforo #wpforo-wrap .wpfl-3 .wpfp-first .wpforo-post .wpf-left {display:none;}
#wpforo #wpforo-wrap .wpfl-3 .wpfp-first .wpforo-post .wpf-right {margin-left:0!important;}
}

I've deleted all caches (wpforo, Supercache, Cloudflare, browser) and set Cloudflare in dev mode but the changes don't appear on mobile.


Topic Tags
2 Replies
Sofy
Posts: 5774
 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 @annabwashere,

Please test it on other mobile devices or try on incognito mode. Because mobile browsers have a hard cache, you'll not be able to see the change immediately.  

As far as I see there shouldn't be an issue. The CSS code is correct. 


1 Reply
(@annabwashere)
Joined: 7 years ago

Trusted Member
Posts: 38
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

Incognito mode worked! Thanks!


Share: