كيفية تخصيص القائمة المنسدلة

Hi there, I have the Discourse theme Minima, and I have been looking for ways to customise my dropdown menu.

However I can not find anywhere to customise/delete/add the options in the dropdown menu. Could someone help me?

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

They call it a hamburger menu, so that’s something to search here for. Here’s one post that could be useful: Customizing the Hamburger Menu - #2 by JimPas

Also search for the American “customize” :slight_smile:

4 إعجابات

This theme component makes it easy to add links to existing sections:

The easiest way to remove options is to hide them with CSS, for example:

.hamburger-panel .top-topics-link {
    display: none;
}
5 إعجابات

Thank you Kris!

Where should I paste the code? I’m not able to edit a theme CSS and when I try do it in an active component it doesn’t seem to do anything…

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

Hi Sofi,

To customize the hamburger menu via CSS, you can fork the Minima theme and paste the code in your fork.

What are you trying to do? I verified that the theme component is working fine. I was able to add new links via the Custom Hamburger Menu Links component.

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

Hi Meghna,

I can add links to my hamburger menu, but I can not add or delete items to it.

I would like to customise the shape and what is written inside my hamburger menu. For instance my hamburger menu looks like this:

But I would like it if it could look something like this:

I want to take things out such as “Cakeday, “Tags”, etc. And make the shape more square-like rather than rectangular-long. Is there a CSS code for it and I can create a new component to edit it?