plone - Auto resizing for Products.Carousel -


I'm trying the products. I have created a carousel for my homepage, and added two banners, which have been automatically rotated after second seconds.

The problem is that I want to set width and height in the carousel settings, for the first banner.

I wish that the carousel used the same width for the main content area. I tried to set a fixed price, but of course it will not work in different resolutions (banners can invade the right portlet area or may be too little for the main content width).

On any idea how can I work around this?

You should be able to give a variable width to the carousel by overriding Products.Carousel.viewlet (either In file system code or in portal_view_customizations) you may want to base the carousel width on the breadth of any other element, such as #in content div:

     

Comments