Tagged: columns, woocommerce
-
AuthorPosts
-
February 28, 2018 at 9:38 am #918878
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
-
This topic was modified 7 years, 8 months ago by
hannerinc.
March 1, 2018 at 6:06 am #919383Hey hannerinc,
Could you link to an example page so that we can see the actual problem please?
Best regards,
RikardMarch 2, 2018 at 9:03 am #920167This reply has been marked as private.March 4, 2018 at 6:41 pm #921111Hi,
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,
MikeMarch 5, 2018 at 3:50 pm #921524I 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
March 6, 2018 at 11:35 am #922164Hi hannerinc,
It should be
[products id="784" limit="1"]to show 1 product.
Here are the docsBest regards,
VictoriaMarch 7, 2018 at 8:46 am #922789Thank 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
March 7, 2018 at 12:45 pm #922928Hi hannerinc,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
This topic was modified 7 years, 8 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
