Decals Online Posted November 16, 2017 Share Posted November 16, 2017 Hi all, What's best to do? Use Classic theme as a parent and create a child theme based on it? Is this prone to be overwritten with updates? Or copy the Classic theme, rename it and edit that? Many thanks, George Link to comment Share on other sites More sharing options...
premiumpresta Posted November 18, 2017 Share Posted November 18, 2017 Depends on the level of the changes you want to make to the theme. Small style changes. Use the file assets/css/custom.css to make your changes. This will not be overwritten at update. Medium changes to CSS and TPL files Create a child theme. Otherwise, if you directly modify the Classic theme's files, you will lose the changes at update. Big changes If you want no one to recognize that this was the Classic theme, then you should copy it and modify it as a new theme. In this case you could also consider starting from scratch by using the Starter Theme. 2 Link to comment Share on other sites More sharing options...
Decals Online Posted November 18, 2017 Author Share Posted November 18, 2017 4 hours ago, premiumpresta said: Depends on the level of the changes you want to make to the theme. Small style changes. Use the file assets/css/custom.css to make your changes. This will not be overwritten at update. Medium changes to CSS and TPL files Create a child theme. Otherwise, if you directly modify the Classic theme's files, you will lose the changes at update. Big changes If you want no one to recognize that this was the Classic theme, then you should copy it and modify it as a new theme. In this case you could also consider starting from scratch by using the Starter Theme. Thank you very much. I think my changes are Medium. 1 Link to comment Share on other sites More sharing options...
NewMan Posted December 28, 2017 Share Posted December 28, 2017 (edited) En 18/11/2017 a las 6:25 PM, premiumpresta dijo: Depends on the level of the changes you want to make to the theme. Small style changes. Use the file assets/css/custom.css to make your changes. This will not be overwritten at update. Medium changes to CSS and TPL files Create a child theme. Otherwise, if you directly modify the Classic theme's files, you will lose the changes at update. Big changes If you want no one to recognize that this was the Classic theme, then you should copy it and modify it as a new theme. In this case you could also consider starting from scratch by using the Starter Theme. Hello, i have a problem, i created a child theme and the classic as parent, the problem is i whant a change in my logo and i read the prestashop developer guide about child themes and how to override, and i tryet but dosent make any change mi code is: {extends file='parent:_partials/header.tpl'} <div class="col-md-6 hidden-sm-down" id="_desktop_logo"> <a href="{$urls.base_url}"> <img class="logo img-responsive" src="{$shop.logo}" alt="{$shop.name}"> </a> </div> y cleaned the cache but dosent change nothing. in the image you can see the file y want to change is the header.tpl Thanks. okay, i got it, my problem is solved, the thing is that in the documentation dosent say that you have to copy all the block of what you whant to change, i only was coping the div i need to change and there is the error, the second image code is working. Edited December 28, 2017 by NewMan i solved my problem (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now