Feature Image Sizing

Hi there,

Please see screenshot attached - how do i set the feature image to be an aspect ratio of 1:1 so the shop items line up.

Secondly we have set a WooCommerce archive for the shop template - how would i go about displaying the product category that each product fall under from the shop page and the product page itself?

Hello @gregphillip,

I would suggest you please add this dynamic content code where you can set the image size as per your design.
{{dc:post:featured_image_id size=“medium”}}

In case you want to add any custom image size as per your design please have a look at this article to learn more about how to add image size. To display the custom size image you need to pass the size name in the dynamic content code as shown above code.

In case you want to assign the product archive layout to the product category page as well you need to set the condition like this.

In case you have not seen the condition assignment doc please have a look at it to learn more about how to assign the layouts.

Hope it helps
Thanks

Nevermind i have figured out how to make all the featured images a 1:1 ratio and none of your solutions helped.

In actual fact - this piece of shortcode you made me ad in “{{dc:post:featured_image_id size=“medium”}}” took my images away completely.

Secondly - I want the category to show either under the Product name or under the Product Price but it must show on the shop page itself - im not trying to set a template to a category page??

Hello @gregphillip,

It seems that you are using the layout builder for the product page, to display the product category name, I would suggest you insert the Text/Headline element and use this dynamic content code “{{dc:term:name}}” to pull the product category name.

Hope it helps
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.