AbanteCart Community

AbanteCart Development => Customization help => Topic started by: nprosen on December 15, 2015, 09:50:30 PM

Title: HomePage Banner
Post by: nprosen on December 15, 2015, 09:50:30 PM
I am using graphic Banner on the home page. I want to use one image which I want to be responsive.

Right now I have this css in place:

#banner_slides{   
   position: relative;
   margin:0 auto;
   width:100%;   
}     

.oneByOneSlide{   
   margin: 0;
   width: 100%;
   height: 360px;
   background: #fff;   
   position: relative;
   overflow: hidden;
}   

#banner_slides .oneByOne_item{
   position: absolute;
   width: 100%;
   height: 360px; 
   overflow: hidden; 
}         

Tried to make banner responsive with changing the width to 100% which is working ok. The problem is height. When I change height from 360px to auto or disable that parameter the banner wouldn't show up.

Can somebody please take a look why is this happening?

Thank you,
nprosen
Title: Re: HomePage Banner
Post by: eCommerce Core on May 02, 2016, 01:05:47 PM
I think this was ignored because your post did not contain any screenshot or URL.  :(
It is hard to "look why is this happening" if there is nothing to look at  ;D