Support

Home Forums Event Espresso Premium Setting All Events for Free

Setting All Events for Free

Posted: September 5, 2017 at 6:33 pm

Viewing 3 reply threads


BoostersInABox

September 5, 2017 at 6:33 pm

There will never be a fee charged for event signups on our site. I am currently hiding the cost/price per event and changing the width of the ticket selector to reduce the white space. I am about to turn the management of the events to someone without any css experience (I have enough to be dangerous… haha!). I don’t want to rely on the fact that she will always remember to add custom css to each event that is created in the future. Is there any to set CSS on a global basis and not event by event. Here is the CSS I am using per event:

.postid-2676 .tkt-slctr-tbl-wrap-dv .ee-ticket-selector-ticket-price-th, .postid-2676 .tkt-slctr-tbl-wrap-dv .tckt-slctr-tbl-td-price {
display: none;
}

#tkt-slctr-tbl-wrap-dv-2676 { width: 50% }

Thank you so much!


Tony

  • Support Staff

September 6, 2017 at 3:02 am

Hi there,

Remove the post ID specific selectors your using above, .postid-2676 and #tkt-slctr-tbl-wrap-dv-2676 are specific to the post with ID 2676.

To do the same as above across all events use:

.tkt-slctr-tbl-wrap-dv .ee-ticket-selector-ticket-price-th, .tkt-slctr-tbl-wrap-dv .tckt-slctr-tbl-td-price {
display: none;
}
.tkt-slctr-tbl-wrap { width: 50% }

Note however if you have additional CSS that is using more specific selectors the above may not work, so be sure to test this works as expected in the locations you want.


BoostersInABox

September 6, 2017 at 9:18 am

Thanks Tony. The removal of the price words great. The reducing of the white space in the ticket selector is not. I am having to use it per posts
(#tkt-slctr-tbl-wrap-dv-595 { width: 50% }). Any other suggestions to get it in the child theme style css file? I really appreciate the help!


Josh

  • Support Staff

September 6, 2017 at 12:29 pm

You may need to increase the specificity of the CSS selector in that case.

If you open up the page in Firefox you’ll be able to see the container divs and you can add those to the style rule to help increase the specificity, and if all else fails you could resort to the !important tag.

Viewing 3 reply threads

The support post ‘Setting All Events for Free’ 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