콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
4264 화면

How I fix my website(Construction website) font style to Roboto to Popins?

아바타
취소
베스트 답변

you need to update the CSS styles in your Odoo theme. Here's how you can do it:

  1. Identify the CSS class or selector that applies the font style to the website elements. This can vary depending on the specific theme and template you are using. Look for classes like body, h1, h2, p, or any other element selectors that define the font style.

  2. Locate the CSS file where the font styles are defined. This can be in your custom theme or in the Odoo default theme. You can use your browser's developer tools to inspect the HTML elements and find the associated CSS file.

  3. Open the CSS file and search for occurrences of font-family: 'Roboto', sans-serif;. Replace 'Roboto' with 'Poppins', sans-serif;.

  4. Save the CSS file with the updated font styles.

  5. If you are using a custom theme, make sure to upload the modified CSS file to your theme's assets folder.

  6. If you are using the Odoo default theme, you can create a custom theme module to override the CSS file. Place the modified CSS file in the static/src/css directory of your custom theme module.

  7. Restart your Odoo server and clear your browser's cache.


아바타
취소
베스트 답변

Hi 

Enable the debug mode. Go to Edit > Theme > Font Family > Add Google font. In that Popup, you can add the URL for the font Poppins then save and reload the font it will apply to the website 

Hope this Helps


Regards

아바타
취소
베스트 답변

Hi,

You can load new fonts in two ways, one by using the google fonts link and the next by downloading it and adding them locally.
https://www.cybrosys.com/blog/how-to-add-new-fonts-to-the-odoo-15-website

Please refer to the above mentioned blog. Even though it says version 15, 16 follows the same steps. 

Hope it helps

아바타
취소
관련 게시물 답글 화면 활동
2
8월 25
2854
1
7월 25
1160
1
8월 25
1152
0
5월 25
1594
2
4월 25
3790