Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
2570 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
kvě 25
2411
2
led 25
2111
4
led 25
4190
0
lis 24
1519
1
lis 24
2283