Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
2575 Visualizzazioni

I would like put more space between the differents button text in the menu but it's impossible. I have : HOME  COLLECTION  PROJET  CONTACT

But I want this : HOME           COLLECTION            PROJET          CONTACT 

is it possible ? thanks a lot. 

Avatar
Abbandona
Risposta migliore

Hi YOOZU. This is usually done by using CSS. I highly recommend to you, to learn at least the basics of it. It is really easy! You can override the CSS of you template with it, at least to a certain extend.

To add you custom CSS you must go to your website and be logged in. Here you search for "HTML/CSS Editor" or "HTML/CSS/JS Editor" depending on your version of Odoo, within the menu.

In the top left of the overlaying editor, you choose "SCSS (CSS)" from the drop down. In the editor you can try something like this: 

#top_menu .nav-item {
margin: 0px auto;
}

But be aware that your changes have to work on the desktop, tablet and mobile. 

I also recommend you learn the basics of HTML(5), CSS and how to use tools like the developer tools of Firefox or Chrome. There awesome crash courses on YouTube for example.
Good luck :)

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
mag 25
2420
2
gen 25
2120
4
gen 25
4194
0
nov 24
1520
1
nov 24
2289