Jump to content

How to edit/add class names


eviltwin

Recommended Posts

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

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...