New answers tagged

0

I had the same problem. I was using _extend.less in the child theme to add my own styles. But as it turned out the parent theme had an _extend.less extending the blank theme. This approach using a _extend-child.less helped me solve it; https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/css-guide/css_quick_guide_approach.html


0

You can check out this link for the Magento front-end theme creation process https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/themes/theme-overview.html Thanks.


0

You need to below require steps for creating a new theme in the Magento 2:- Create a directory for the theme under app/design/frontend/<your_vendor_name>/<your_theme_name> Example: app/design/frontend/Custom/Default Add a declaration file theme.xml and optionally create etc directory and create a file named view.xml to the theme directory <...


0

I believe this cover it in detail link And this is one of the best videos covering this topic link This might be useful for you- link


0

you can easily checking it in Magento 2 Documentation is there chapter about it https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/themes/theme-create.html – every single step is described with file structure.


0

Looking your website, seems that you have missed important code lines in homepage (hiding or deleting). I see a lot of comments within <!-->. Opening or closing them in a wrong code line, may damage your homepage. Inspecting the source of your page, I was able to see that the menu still works at collection pages, such as: https://micserah.com/womens/...


0

run below commands and check php bin/magento setup:upgrade php bin/magento setup:static-content:deploy en_GB en_US -f php bin/magento cache:clean php bin/magento cache:flush php bin/magento indexer:reindex if cache enabled on server or cpanel then please try to flush cache on that too.


0

The solution was to place a file named "style.less" in my custom theme web/css folder. I am not sure why is this file necessary since all the CSS is inherited from the parent theme, so I just put one dummy class in it for now, will keep an eye if it's breaking any part of the theme.


Top 50 recent answers are included