Discussion Summary: Hide ‘Create Topic’ on home page?
GSeven requested a way to hide the ‘Create Topic’ button on the home page, requiring users to navigate to a category/subcategory before posting. cpradio provided a CSS rule to achieve this:
This rule hides the ‘Create Topic’ button on the home page but shows it on category pages. GSeven then asked to modify the code to also show the button on category>subcategory>tag pages, which cpradio accommodated with an updated rule:
Mstm appreciated the solution but noted that it didn’t work on mobile devices. Nolo provided a workaround, suggesting the use of a more specific declaration or the !important property to override the mobile styles:
Is it possible to hide the ‘create topic’ button on the home page?
i would like my users to navigate to the appropriate category/subcategory before posting a topic, because then the correct category option is automatically placed in the composer, instead of having to scroll through what will be hundreds of categories and subcategories in the drop down menu looking for the right one.
Ich habe alles ausprobiert, aber ich verstehe nicht, wie ich „Thema erstellen“ auf Mobilgeräten ausblenden kann.
Auf kleinen Displays ist es schwierig, Kategorien und Tags zu durchsuchen. Dieses Contribute > Feature würde sehr helfen. Warum nicht eine Option im Menü hinzufügen?
Sie können den Stil-Inspektor Ihres Browsers verwenden. Er zeigt an, dass die Deklaration auf Mobilgeräten durch eine spezifischere überschrieben wird: