Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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 6 years, 8 months ago by hannerinc.
    #919383

    Hey hannerinc,

    Could you link to an example page so that we can see the actual problem please?

    Best regards,
    Rikard

    #920167
    This reply has been marked as private.
    #921111

    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

    #921524

    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

    #922164

    Hi hannerinc,

    It should be

    [products id="784" limit="1"]

    to show 1 product.
    Here are the docs

    Shortcodes included with WooCommerce

    Best regards,
    Victoria

    #922789

    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

    #922928

    Hi hannerinc,

    Glad you got it working for you! :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.