Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: HomePage Banner  (Read 4260 times)

Offline nprosen

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
HomePage Banner
« 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

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: HomePage Banner
« Reply #1 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
“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

 

Database Error

Please try again. If you come back to this error screen, report the error to an administrator.