![]() And by extending it, you effectively removed the Blank theme as the parent and all of the stuff Luma depends on. Luma isn't intended for extending, because it depends on Magento_Blank being the parent. app/design/frontend//web/css/source/_email-base.less. You can import a compiled css within your html file and the less version of that you can import other less files and fonts like how you would normally. So its all a matter how you want to do it. ![]() In that less file you can add other less files or fonts with something like this // Font stylesheet is wrapped in a media query in order to prevent it from causing problems in screen 'source/_typography.less' Then just add email.less to your frontend/vendor/theme/web/css folder and add css there. You can also add css files to it (in the header.html) for example : -> File name Size Download 1: LucidaSans-Bold.otf: 82.8KB: Download: 2: Lucida Sans Demibold Italic.ttf: 52.9KB: Download: 3: Lucida Sans Demibold Roman.ttf: 47.4KB. ![]() The header.html and the footer.html are pasted before and after every mail that you send so it comes in handy to use those to add general css styles instead of creating inline css styles. You normally have an Magento_Email/email/header.html in your theme that you are using.įont-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |