Support

Home Forums Event Espresso Premium Hide "Available Tickets," Ticket Graphic and QTY Text

Hide "Available Tickets," Ticket Graphic and QTY Text

Posted: August 21, 2014 at 1:04 pm


matt madill

August 21, 2014 at 1:04 pm

I am trying to remove the “available tickets” text next to the quantity selector as well as the ticket graphic and the QTY* text and I can’t seem to find it using inspector tool in chrome. I am going to assume its part of .tkt-slctr-tbl tbody tr td:nth-child(2) as that is how price fields were hidden (display: none) but cant figure out these ones. Any help or .css would be greatly appreciated.

Here is the page with the selector:
http://semcme.tmvgroup.com.php53-14.ord1-1.websitetestlink.com/semcme-courses/


Lorenzo Orlando Caum

  • Support Staff

August 21, 2014 at 7:41 pm

Hi,

You can inspect any element on a page using a free tool like Chrome Developer Tools (available with Google Chrome) or Firebug (available as a web browser extension).

This will show you the CSS that is handling the styling including the file and line number. Then you can add new styling to your child theme’s stylesheet or through a plugin like Reaktiv CSS builder or My Custom CSS.

Try this CSS:

.ee-icon.ee-icon-tickets {display:none;}

The text can be removed using quick localization or a gettext filter:

eventespresso.com/wiki/how-to-change-wording-with-poedit/#plugins

Then force refresh to see the changes:

http://en.support.wordpress.com/browser-issues/#force-refresh


Lorenzo


matt madill

August 22, 2014 at 1:40 pm

Thanks Lorenzo,
I am struggling trying to get rid of qty* and available tickets text using the localization tool. I must be using it wrong.

Is there something I can simply add to my stylesheet.css to remove “available tickets” an “qty?”


Lorenzo Orlando Caum

  • Support Staff

August 22, 2014 at 3:40 pm

Could you try a gettext filter (https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function) in your child theme’s functions.php file or a site specific plugin?

https://gist.github.com/lorenzocaum/4ac831dab405ea684f62

Change Register in the example above to QTY* and remove just the words below:

Buy Tickets

Does that work?


Lorenzo

The support post ‘Hide "Available Tickets," Ticket Graphic and QTY Text’ 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.

Event Espresso