• Resolved Karlton Kemerait

    (@redbarnblankets)


    I need to either find some CSS to control fore/back color on quantities in cart for alternating rows OR CSS to turn off the alternating color scheme completely on cart rows.

    I am a rank beginner and have managed to cobble together the other areas with CSS to create the look I’d like, however this one has me stuck. Any help will be appreciated.

    Thanks in advance

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there ??

    Could you please share a link to your site to see if I can generate a custom CSS code for you?

    Also, please provide us with a full-screen uncropped screenshot in order to understand where the issue is located and provide you with guidance? I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on the page, then paste the URL here. It works with Chrome, Firefox, Safari, and Edge.

    Cheers.

    Thread Starter Karlton Kemerait

    (@redbarnblankets)

    Hi
    The site is currently hosted on my local machine so can’t provide a url.

    Here’s a screen shot

    https://snipboard.io/GxFED3.jpg

    Thanks

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    I see! In that case, there is not much code I can provide you. If you can put your site live, please let me know so I can give it a look.

    Cheers.

    Thread Starter Karlton Kemerait

    (@redbarnblankets)

    Hi

    This works for the price, but can’t find how to access the quantity

    add_filter( ‘woocommerce_cart_item_price’, ‘ds_change_product_price_cart’, 10, 3 );

    function ds_change_product_price_cart( $price, $cart_item, $cart_item_key ) {
    $price = ‘<span class=”amount”>’ .$price .’ per yd. </span>’;
    return $price;
    }

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Please kindly note that this requires some custom coding – which goes beyond the scope of support we are able to provide in this forum.

    If you do require more help with the actual coding, we’d recommend you hire a developer who can take a look at this, quote you for their services and help you add this feature to your site. We’d recommend getting in touch with a web developer or one of the customization experts listed at https://woocommerce.com/customizations/.

    Cheers!

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘CSS for Cart Quantity Colors’ is closed to new replies.