[Resolved] Need help with a few things

Home Forums Support [Resolved] Need help with a few things

Home Forums Support Need help with a few things

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1251106
    Alen

    Hello everyone,

    i’m moving a blog and a shop to generatepress+gutenberg and need some help with few things.

    I would like to add text before and after the buy button on product pages

    I would also like to hide tabs on product pages but not the descripction and reviews

    I added picture for better illustration
    edit

    Reviews would be just moved after the description like in this picture
    rev

    Thank you,
    Alen

    #1252319
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    This article might help: https://rudrastyh.com/woocommerce/before-and-after-add-to-cart.html

    For the tabs, try this:

    .woocommerce div.product .woocommerce-tabs ul.tabs {
        display: none;
    }
    
    .woocommerce div.product .woocommerce-tabs .panel {
        display: block !important;
    }
    #1258280
    Alen

    Thank you very much Tom, that did the trick.

    Do we have better css for wc-block for showing products on mobile in grid
    This code below is working only by adding 2x wc-block(max 2items-styling not in line on mobile if more) at 50%-50% in columns

    @media(max-width: 768px) {
    li.wc-block-grid__product {
            width: 48% !important;
            float: left !important;
            margin-left: 1% !important;
            margin-right: 1% !important;
    	  line-height: 1px !important;
        }

    Thank you and have a nice day on,
    Alen

    #1258717
    Tom
    Lead Developer
    Lead Developer

    Hi Alen,

    Any chance you can open a new topic with a little more info?

    Thanks! 🙂

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