WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Alter "Remove from cart" link (5 posts)

  1. pulsewebdesigns
    Member
    Posted 1 year ago #

    I'd like to make the "remove from cart" link (the little blue 'x') red and bold, but when I look for the styling in the CSS files, I can't find it. Inspecting the element it should be in Style.css but it's not. Any suggestions?

    http://wordpress.org/extend/plugins/woocommerce/

  2. Yojance
    Member
    Posted 1 year ago #

    Can you post a link to your Website?

    Also, this bit of code is inside templates/cart/cart.php or inside
    woocommerce/cart/cart.php if you are overriding these templates from within your theme.

  3. pulsewebdesigns
    Member
    Posted 1 year ago #

    Yes, the website is http://www.budgetusb.com

    I found the php file for the output code, but I still cannot find the CSS controlling how it appears.

  4. Yojance
    Member
    Posted 1 year ago #

    Just add this to your Theme's CSS file:

    div.woocommerce form.woo_cart table.shop_table tbody tr.cart_table_item td.product-remove a.remove { color: red; font-weight: bold; }

    That should work.

  5. pulsewebdesigns
    Member
    Posted 1 year ago #

    You sir, are a genius. Thank you very much.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.