Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Banners In Cscart 4.1.2 Strech Instead Of Center Rate Topic   - - - - -

 
  • ThunderGr
  • Newbie
  • Members
  • Join Date: 25-Nov 13
  • 3 posts

Posted 07 February 2014 - 07:35 AM #1

After the installation of the new version(from 4.0.3) I discovered that carousel streches the images in the block, instead of centering them.
This behavior is not desirable.
How can I restore the previous behavior that centered the images instead of streching them?

 
  • ThunderGr
  • Newbie
  • Members
  • Join Date: 25-Nov 13
  • 3 posts

Posted 12 February 2014 - 08:49 AM #2

Does noone else have a problem with this change in the new version?
Could you, please, at least point me to the right direction for solving the problem or, maybe, give me some suggestions for other add-ons I may use for displaying the banners the way I want(that is, the images centered in the blocks, not streched).

Thank you in advance for any suggestions you may have.

 
  • parodius420
  • Senior Member
  • Members
  • Join Date: 03-Dec 11
  • 611 posts

Posted 18 February 2014 - 05:46 AM #3

Ive been looking for a way to resize the banners, cant seem to figure anything out either.

 
  • Ductst
  • Newbie
  • Trial users
  • Join Date: 18-Feb 14
  • 1 posts

Posted 18 February 2014 - 07:34 AM #4

Ive been looking for a way to resize the banners, cant seem to figure anything out either.


Uses CSS @ Design -> file editor-> find banner -> css. from the left menu

 
  • ThunderGr
  • Newbie
  • Members
  • Join Date: 25-Nov 13
  • 3 posts

Posted 26 February 2014 - 08:52 AM #5

Uses CSS @ Design -> file editor-> find banner -> css. from the left menu


That worked. I found styles.css at /httpdocs/design/themes/basic/css/addons/banners and I changed
.banners img {
display: block;
width: 100%;
height: auto;
}

to

.banners img {
display: block;
width: auto;
height: auto;
margin: auto;
}

Thanks a lot!