eviltwin Posted November 8, 2018 Share Posted November 8, 2018 Hi, I'm using prestashop 1.7.4.3, I'm new to this framework. Is it possible to add or change class names in the _partial tpls What I attempted: Tried to change the header logo's class name <div class="col-md-2 hidden-sm-down hlogo" id="_desktop_logo"> {if $page.page_name == 'index'} <h1> <a href="{$urls.base_url}"> <img class="logo img-responsive" src="{$shop.logo}" alt="{$shop.name}"> </a> </h1> {else} <a href="{$urls.base_url}"> <img class="logo img-responsive" src="{$shop.logo}" alt="{$shop.name}"> </a> {/if} </div> What I need : As you can see I've added a class name hlogo for the logo, in \templates\_partials\header.tpl but in the homepage this change is not updated. How to get this done. or am I missing anything? Link to comment Share on other sites More sharing options...
NemoPS Posted November 16, 2018 Share Posted November 16, 2018 That should be correct, did you clear the cache in the back office? 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