News:

AbanteCart v1.4.2 is released.

Main Menu

HomePage Banner

Started by nprosen, December 15, 2015, 09:50:30 PM

Previous topic - Next topic

nprosen

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

eCommerce Core

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
"If you're in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent."
― Warren Buffett

Forum Rules Code of conduct
AbanteCart.com 2010 -