2

having used the following code in the home page cms screen

{{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/new.phtml"}} 

this displays the new products on the home page no problem, when the screen is full width, with one exception, it doesnt centralise them on the screen enter image description here

Also the rwd theme is totaly responsive which is awesome, except for this new products block. you can see when you shrink the screen size down (or look on tablets or mobiles) the layout is totaly broken

enter image description here enter image description here

anyone got any ideas how i can fix this, i just want 4 products displayed and to be responsive like the rest of the site

any help much appreaciated. thanks

6
  • Can you share the URL of the site in question? Have you defined a column count (products per row) at all - either in the template file or via XML update (<action method="setProductsCount"><count>3</count></action>)? Commented Sep 5, 2014 at 10:13
  • bos2.co.uk/giftskingdom Here is the site tempory while we build it Commented Sep 5, 2014 at 13:13
  • Your new products on the homepage are set to 5 per row (there is only 4 products there). Subsequently, the styling for 5 columns is being used products-grid products-grid--max-5-col. Commented Sep 5, 2014 at 13:38
  • even if i set i nthe admin the numbers, i.e. 4,8,16,20 etc, its makes no difference for me. Is there something i am missing with this then, how can i get it to use max-4-col then, if there is one Commented Sep 7, 2014 at 14:36
  • That setting doesn't control the column count. Check out this instead. Commented Sep 8, 2014 at 7:25

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.