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

    I have successfully hidden the enfold cart doohickey while not logged in with the below css…

    but if you happen to have an item in your cart via cookie and you are not logged in hit the my account page the cart icon shows up still…

    but only on that link… no other pages…

    .cart_dropdown.visible_cart {

    display: none;

    }

    #top.logged-in .cart_dropdown.visible_cart {

    right: -2px;

    display: block;

    }

    Kriesi rules….

    TY

    #130683

    Hey!

    Try to use !important tags like

    .cart_dropdown.visible_cart {
    display: none !important;
    }
    #top.logged-in .cart_dropdown.visible_cart {
    right: -2px;
    display: block !important;
    }

    Regards,

    Peter

    #130684

    That did it…

    #130685

    Hey,

    Glad it worked. :)

    Cheers,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce – hide top right cart icon unless logged in…’ is closed to new replies.