Jump to content

Modify home slider bootstrap class


Recommended Posts

Hello,


I'm trying to modify homeslider bootstrap class, but I don't know where I have to do it. When I look into HTML, I see this:

<div id="homepage-slider" class="col-xs-12">

I have modified 'homeslider.tpl' in 'homeslider' module in my theme, and I'm sure that is the correct file. The problem is line 29:

<div id="homepage-slider">

I added:

<div id="homepage-slider" class="test">

And the result when I look into HTML again is:

<div id="homepage-slider" class="test col-xs-12">

I don't want 12 columns for the slider (I have modified 'width' in the configuration module, but I want add content next to slider, so this doesn't work).

 

Thanks in advance.

Share this post


Link to post
Share on other sites
22 minutes ago, felix7 said:

Hello,


I'm trying to modify homeslider bootstrap class, but I don't know where I have to do it. When I look into HTML, I see this:

<div id="homepage-slider" class="col-xs-12">

I have modified 'homeslider.tpl' in 'homeslider' module in my theme, and I'm sure that is the correct file. The problem is line 29:

<div id="homepage-slider">

I added:

<div id="homepage-slider" class="test">

And the result when I look into HTML again is:

<div id="homepage-slider" class="test col-xs-12">

I don't want 12 columns for the slider (I have modified 'width' in the configuration module, but I want add content next to slider, so this doesn't work).

 

Thanks in advance.

 

Hi,

I have answered you in the same doubt that you have published in Spanish in the Spanish forum: https://www.prestashop.com/forums/topic/648268-cambiar-la-clase-de-bootstrap-del-slider/

Sorry for my English,

  • Thanks 1

Share this post


Link to post
Share on other sites

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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More