Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
2288 Lượt xem

Hello, I am currently running the Enterprise Edition, ver. 16.4.


In the Website Builder under "Theme", while selecting the Font Family, I have no issues with adding a Google Font to the builder.


However, how do i change the Weight and Style of a Font Family? 


For example for Roboto​, How do I change and choose between the default Regular 400 to Bold 700 or Semi Bold 600 Italic? As far as I can tell, there is no option to select the variations of the Font in the Themes tab.


Unfortunately I have no background in coding and only have the most basic understanding of HTML and CSS from tutorials on youtube, so any edits I made to the HTML and CSS files from the main menu has resulted in error codes and not much else. 


I would greatly appreciate any advice! Thanks in advance!


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I have the same question. Did you already find an answer for it? 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I'm trying to import Montserrat Medium (font-weight: 500;) however, it seems like Odoo only imports Regular (400) and Bold (700) versions.

Is there a way to fetch the medium as well?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Odoo now imports all font variants from the source. You can adjust the base font size


The weight and style will be applied automatically based on the element and its default configuration like <b> or <i>. 

Additionally, you can select and modify these attributes directly from the editor for further customization.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 23
1562
1
thg 7 25
1253
2
thg 6 25
1463
0
thg 5 25
746
2
thg 3 25
2825