4/23/2024 0 Comments Google font inheritAlso, I need to use font that is not available in Google Fonts repository. You can manually change the font by adding the following to your preferred custom CSS location or stylesheet. There is way to add custom CSS / JS in website editor but coming from Wordpress I'd like to have module for this and store this information in separate file/module outside the editor. The plugin is designed to naturally inherit the font that's used on your website or WordPress theme so that it fits seamlessly into your site. You cannot create recursive inherited views. The font-family: inherit property is supported in all modern browsers, including Google Chrome, Mozilla Firefox, Safari, and Microsoft Edge. For example, use hover:font-bold to only apply the font-bold utility on. Found module in apps and try to install it. Tailwind lets you conditionally apply utility classes in different states using variant modifiers. In odoo_theme xml file I had to add - in tags so it can be displayed, it is not like that in the module. $o-theme-font-configs: map-merge($o-theme-font-configs, ( If there is a Google Font that you cant find in the options, probably the. Home Simple to use The following text uses a font called Tangerine: Making the Web Beautiful Applying a. Src: url('/custom_website/static/src/fonts/Walkway_Bold.ttf') format('truetype') For this, in cutsomizer Inherit option should be selected. Google Fonts Google for Developers High-quality fonts to use on your web site. "website_theme/static/src/css/custom_styles.css", 'description': 'Customisation for website theme', This is what I've done (so far with no success): In documentation I was only able to find how to create new theme from scratch but not how to inherit it. I am trying to inherit current website theme (Odoo v16) and add custom fonts/css to it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |