Tagged: columns, woocommerce
Is there a way to display only one product in one column? I couldn’t find one.
I can manage it via css but it still displays the 300x300px image so the image blurs + it should actually work with this shortcode.
Woocommerce shortcode doesn’t work either ex.: [products id=”111″ columns=”1″] There are always displayed 4 columns
I tried, said shortcode, with another theme and it worked.
best regards
Hey hannerinc,
Could you link to an example page so that we can see the actual problem please?
Best regards,
Rikard
Hi,
If I understand correctly you would like the column 1 shortcode to show as full width, and I assume centered.
Try this code in the General Styling > Quick CSS field:
#top div.columns-1 .products .product{
width: 100%!important;
}
#top div.columns-1 .thumbnail_container img {
max-width: 300px !important;
}
#top div.columns-1 .thumbnail_container {
display: flex!important;
justify-content: center!important;
}
Please see screenshot in Private Content area.
Best regards,
Mike
I just want to show one product. Even if I add this code it still adds all 4 products. even though I used the specific ID [products id=”784″ columns=”1″]
best regards
Hi hannerinc,
It should be
[products id="784" limit="1"]
to show 1 product.
Here are the docs
Best regards,
Victoria
Thank you very much. this code shows one product but still the wrong one because I used ID instead of IDS
Anyone having the same issue it’s the following code: [products ids=”784″ limit=”1″] ID with an “S”
thank’s victoria :D
Hi hannerinc,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria