New Landing How can we help? Cardinal Add to Cart, css styles

Viewing 12 posts - 16 through 27 (of 27 total)
  • Posted in: Cardinal
  • #212703
    nela_wl
    Member
    Post count: 30

    HI David,
    ok, I will try to explain. If you are on the main site with the products (where we solved the problem above), you can click the “add to card” button (whitch is centered now). After you have clicked, the “Add to cart” text changes into “item added to bag” whitch is not centered. It would be great to center it too!! I hope you understand?
    Thank you!

    #213082
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Ok, yes I see that. You will need to use some custom CSS

    .woocommerce .products .product figure .cart-overlay .shop-actions > a.product-added, 
    .woocommerce ul.products li.product figure figcaption .shop-actions > a.product-added:hover {
        margin-left: 20%!important;
    }

    – David.

    #213158
    nela_wl
    Member
    Post count: 30

    Great THANK YOU, it WORKS!!!

    #213258
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome. Great thanks to David.
    Mohammad

    #214150
    David Martin – Support
    Moderator
    Post count: 20834

    Marking as resolved.

    #214500
    nela_wl
    Member
    Post count: 30

    Hi, it´s me again!
    Unfortunally I just saw, that the “ADD TO CART” button is not centered at the “related products” now.
    Maybe you could send me again one tiny code, or a code for hiding the button complete at the “related products, the crossselling and upselling”? This would work for me too!
    Thank you!

    Attachments:
    You must be logged in to view attached files.
    #214507
    David Martin – Support
    Moderator
    Post count: 20834

    Sure, please use this:

    
    .woocommerce .upsells .products .product figure .cart-overlay,
    .woocommerce .related .product .cart-overlay .shop-actions {
        display: none;
    }
    

    – David.

    #214561
    nela_wl
    Member
    Post count: 30

    GREAT!! thank you very much! As far as I am working on this yet, maybe you have another one for hiding just the grey background coulour of the “out of stock” and “new” batch?
    This would be amazing!!!
    THANK YOU!!

    Attachments:
    You must be logged in to view attached files.
    #214567
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Use this code below.

    .woocommerce .out-of-stock-badge, .wc-new-badge {
        background: transparent!important;
    }

    -Rui

    #214594
    nela_wl
    Member
    Post count: 30

    THANK YOU!!!!!!

    #214597
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem.
    -Rui

    #214598
    David Martin – Support
    Moderator
    Post count: 20834

    Thanks Rui!

Viewing 12 posts - 16 through 27 (of 27 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register