Skip to content

styles

Auto Added by WPeMatico

How can I add a custom stylesheet to my custom theme?

I am losing my mind because I am following guidance in documentation but literally nothing works. I added a custom theme that references luma. my directory structure is /app/design/frontend/Localstretch/luma_child In my luma_child/web/css folder I put localstretch.css In my /app/design/frontend/Localstretch/luma_child/Magento_Theme/layout/default_head_blocks.xml I… Read More »How can I add a custom stylesheet to my custom theme?

encountered an issue where the modifications made to the style-m.css and style-l.css files are not being reflected on the website

After the installation of the Martfury Magento theme on my server, we attempted to make changes to these two files but were unable to locate them within the theme directory. I found these files in, /pub/static/frontend/MageBig/martfury_layout01/en_US/css/styles-m.css /pub/static/frontend/MageBig/martfury_layout01/en_US/css/styles-l.css Unfortunately, the modifications… Read More »encountered an issue where the modifications made to the style-m.css and style-l.css files are not being reflected on the website

Load custom less in a particular phtml file

I know that I can load a custom css in a particular phtml file using <link rel=”stylesheet” type=”text/css” href=”<?= $this->getViewFileUrl(‘Custom_Module::css/source/file.css’)?>”> I want to know how can I do this but using a _file.less Thanks!