跳至内容
菜单
此问题已终结
2 回复
2559 查看

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. 

形象
丢弃
最佳答案

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 :)

形象
丢弃
相关帖文 回复 查看 活动
4
5月 25
2317
2
1月 25
2104
4
1月 25
4173
0
11月 24
1511
1
11月 24
2267