I wish to have a carousel in the centre of a layout grid and have the width set to 300 pixels.
I have tried different options but it always ends up on the left and or wider than the 300 pixels.
Any help much appreciated.
Positioning and Sizing Carousel
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Re: Positioning and Sizing Carousel
A carousel inside a layout grid is always full width its the container.
But you can try to use a nested grid with the max-width set to 300 pixels.
But you can try to use a nested grid with the max-width set to 300 pixels.
Re: Positioning and Sizing Carousel
Unfortunately I already have a nested layout grid on the page design which means I cant use that option.
Re: Positioning and Sizing Carousel
I can actually get a Fotorama carousel to be 300 pixels wide in a layout grid but I cant get it to centre.
Re: Positioning and Sizing Carousel
In that case, add this to 'custom style' of the carousel:
Code: Select all
max-width:300px; margin: 0 auto 0 auto;
Re: Positioning and Sizing Carousel
Nice, this looks like it works perfectly on the normal Carousel. Well done Pablo 
