Posted: August 21, 2019 at 4:44 pm
The cart is too busy, doesn’t display well on mobile and I would like to remove the subtotal, the +, – and trash icons since a user can just change the quantity for any event to update it. How can I do that?. I would also like to set the font size and eliminate bolding for all the tables in Event Expresso. Is there a way to do that, too? |
|
Hi there, You can use some CSS to hide the elements on the cart, for the update icons (+, -, trash):
For the subtotal:
You can place both of those in Appearance -> Customize -> Additional CSS.
It’s possible with CSS, but the tables in EE all do not use a single specific class/id so you’d need to go through each table and add CSS to suit. |
|
Thanks. What interesting is that in the Avada theme options where you can input CSS it doesn’t like the !important statement. It shows an error message. If I leave !important out the buttons still display. If I go to Appearance>Customize>Additional CSS and use the CSS with !important WP doesn’t have an issue with it and the buttons are removed. I may need to move all my additional CSS to Appearance>Customize>Additional CSS from Avada’s them options. Do you know why that’s the case? Is there an alternative to !important? |
|
I just kept the !important in the CSS in Avada>Theme Options and it works it just has a little caution sign next to it. |
|
I have another question about the event cart. I don’t want the line item description in parenthesis to show up in the cart. I tried using the two CSS options below, with and without !important and it didn’t work. Could you give me the correct CSS? .event-cart-line-item-desc-spn smaller text { and this .line-item-desc-spn smaller text { |
|
The problem with People use Those selectors don’t work because:
This one is closest but Using chrome dev tools if you inspect the element you’ll see it’s a span with 2 classes https://monosnap.com/file/7ZMJORkYdaXUTdRgG7WvKozMsZNtFh
So this will work:
Make it even more specific for only the event cart by working up the through the parents to find another element that has an ID or class that sounds like it specific to that section, I’d use
Right right to left, so any element with class |
|
Perfect! I used .line-item-desc-spn { because I don’t want those descriptions in either the cart or regsitration form. |
|
The support post ‘Remove Subtotal and + and – Icons from Cart’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.