هل هناك طريقة بسيطة لإزالة جميع معلومات الفئة / النص من أعلى الصفحة؟

Is there a way to easily remove all this text at the top of the forum? I’m not a coder, am not good at editing css, etc. - but I’m working on a simple forum with one main category - want a cleaner UI - and would like to remove all the category boxes, etc. as is displayed here:

Shouldn’t be displayed if you add the following to the common CSS of a theme component:

ol.category-breadcrumb {
    display: none;
}
#navigation-bar {
    display: none;
}

I created a simple little TC for you that you could install locally to do it for you:

discourse-hide-nav.zip (1016 Bytes)

Go to your Discourse admin panel > Customize > Themes > Components > Install > From your device
Choose discourse-hide-nav.zip then click Install
In the Hide Nav TC editor click ‘Add all themes’ then click the green check circle

edit: Steven’s reply below is preferable imo

إعجاب واحد (1)

Zup was faster than me. This is the same idea basically, but if you want to keep the New topic button align to the right, I’d put these:

.list-controls {
    ol.category-breadcrumb, ul#navigation-bar {
        display: none;
    }
    .navigation-container {
        flex-direction: row-reverse;
    }
}
إعجابَين (2)

Fantastic - thanks so much for the detailed instructions! Just what I needed!

إعجاب واحد (1)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.