Close

Profile: hanz

Avatar

User posts

7 years ago

Great, thanks!

7 years ago

Hi,

Is there a way to change the page loader ?

Thanks in advance!
Hans

Oké thanks.

Hi,

On my homepage I have a section with new products, homepage products and best sellers. The size of the original pictures is defined in Admin - media: product thumbnails (in my case 300px), But these are also for the category product pictures and I want a different size on the homepage. This is done by css, but the actual picture is resized from the original which is not good for Google. I changed the code in themes/native/Index.cshtml from

@Html.Widget("home_page_native_new_products")
@Html.Action("HomepageProducts", "Product")
@Html.Action("HomepageBestSellers", "Product")

to:
            
@Html.Widget("home_page_native_new_products")
@Html.Action("HomepageProducts", "Product",new{productThumbPictureSize=130})
@Html.Action("HomepageBestSellers", "Product",new{productThumbPictureSize=130})

which works perfectly for HomepageProducts and HomepageBestSellers products.

What code should I add to hardcode the picture size for home_page_native_new_products (adding:  "Product",new{productThumbPictureSize=130} gives an error) ?

Thanks for any reply!

8 years ago

Thamks. That solved my problem!

8 years ago

Hi,

I tried to change the grid for the ipad mini, by changing 768.css and 768.rtl.css with the code for 4 per row. Whatever I try (also clearing cache etc.), it keeps showing 3 in a row. Any idea what I can do to display 4 item-boxes on a row for the home-page-category-grid and sub-category-grid on the ipad mini ?

8 years ago

No, doesn't work, even with higher numbers. Anyway, one way to solve it is to integrate the caption into the slider images (as part of the image) to make it clickable. 

8 years ago

Great, thanks Nikola !

One little problem, with this css, the link does not work for the caption. I tried something with z-index but that did not solve it.

8 years ago

Hi,

I'm trying to get the caption (or title) of the nivo slider to show as a block like the demo native template (-50% sale summer collection, so as block, in the middle). Can you help me out here ? 

8 years ago

Thanks!