Site logo

Archived topic

Remove "Cart" text from shopping cart menu item

4 replies · Started by Mike on August 7, 2018

Viewing posts 1–5 of 5

Hello,

Is there any way to remove the "cart" text which appears to the left of the total cart cost?

I have currently got it half working using,


.wc-menu-item  a, .cart-contents a {
	visibility: hidden !important;
}

However, this still leaves a white space which is slightly too large to justify in the design!

I have also tried,


.wc-menu-item  a, .cart-contents a {
	display: none !important;
}

However, this then hides the child span element along with it.

I dont know if I am just imagining it, but I seem to remember a time when there was no "Cart" text?

I also had to write some custom CSS to get the cart icon displaying, I definetly dont remember having to do this with previous sites?

Has something changed?

Using GP 1.5.6, waiting for client to purchase license!

Cheers,
Mike

Also, as a side note to this.

I have noticed that the cart desktop menu icon with the class, ".wc-menu-item" is appearing on tablet and mobile as the last menu item in the dropdown.

Is there any way to stop this so that the menu item only appears on desktop?

The cart already appears at the top of the page with the search box so I dont need it again in the menu.

Thanks,
Mike

Hi there,

That's actually one of the changes from GPP 1.5 to 1.6 - in 1.6 it's actually using GPP icon set.

Updating should fix that problem and the cart in menu should show up like this:
https://www.screencast.com/t/4pDVeb3yBI

If this still doesn't work when you upgrade we can have another look :)

Let me know if this helps.

Hello Leo,

Ah ha! I knew something was different!

I will get that updated and hopefully we should have a fix! Fantastic!

Thanks,
Mike

No problem :)

This archived topic is closed to new replies.