• Currently woocommerce added a cart link to the main top nav menu. I would like to replace that link with an image of a shopping cart. How do I do that?

    I’ve tried using this code but it doesn’t work.

    li#menu-item-189 a {
      display: block;
      background-image:url('http://fetgraphics.com/wp-content/themes/childofx/images/shopping-c...);
      background-repeat: no-repeat;
      width: 35px;
      height: 32px;
      text-indent: -9000px;
    }
Viewing 1 replies (of 1 total)
  • Thread Starter skeeterz71

    (@skeeterz71)

    Update: I got the cart to work. I was missing a closing curley brace in prior css.

    Anyhow, it assigned the cart to everything on the drop down menu too! Not sure what to do to prevent that. Just want the cart on the top level.
    http://fetgraphics.com/
    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘How to change out link in top menu to an image?’ is closed to new replies.