I recently downloaded a theme. I wanted to rearrange the frontend layout of the store and thought that creating a child theme would be the best approach. I've followed the steps from magento in creating a theme:
So far, my folder structure is frontend/ARS/Theme1. Within Theme1, I have files registration.php and theme.xml.
<?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::THEME, 'frontend/ARS/Theme1', __DIR__ );
<!-- /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ --> <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd"> <title>ARS</title> <parent>Sm/market</parent> <!-- frontend/Sm/market --> </theme>
I noticed within the documentation, that I need to create directories for static folder but what is <area>?
app/design/<area>/<Vendor>/<theme>/ ├── web/ │ ├── css/ │ │ ├── source/ │ ├── fonts/ │ ├── images/ │ ├── js/
Any help is appreciated, thank you!
I see, so for creating a theme would it be needed to create a static directory if the parent theme already has them?