• Resolved rcards

    (@rcards)


    I am using the newest version of WP and WC. I am trying to hide the Shipping, Tax and Total rows on the CART page, only. However, these rows should not be displayed on desktop browsers, mobile and tablet views.

    I have tried this code, but it does not hide what I what hidden:

    .page-id-4944 tr.tax-total {
    display: none !important;
    }
    .page-id-4944 tr.order-total {
    display: none !important;
    }
    @media (max-width: 768px) {
    .cart_totals tr:nth-child(n+2) {
    display: none !important;
    }
    }

    But it is still displaying on the CART page.

    How do I remove those 3 rows from the Cart page?

    https://www.ads-software.com/plugins/woocommerce/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Leave the CSS active and send me a link to your cart page plz.

    Thread Starter rcards

    (@rcards)

    CCS is still active. The problem is on my Cart page. I do NOT want these fields hidden on my Checkout page.

    I sent the link to your twitter account.

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    You’re just missing:

    .page-id-4944 tr.shipping {
    display: none !important;
    }

    Everything else is hidden.

    Thread Starter rcards

    (@rcards)

    Hmmm, well – it is working now! Added the your CSS to the current CSS and it hides them all!

    So, thank you! ??

    The word ‘subtotals’ is still showing in my cart. I used the above code in the beginning of the thread to get rid of “total” but need help removing subtotals. Please help. Have not found any signs of this anywhere – this is the closest! Thanks in advance.

    P.S. I used

    tr.order-total {
    display: none !important;
    }
    to get rid of total, having no luck for subtotal

    @natiboy
    Markup can vary between themes. Please post the url to your site.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘HIde sections on Cart page?’ is closed to new replies.