Home › Forums › Ticket Products › Event Tickets Plus › Removing Remaining tickets from event
- This topic has 6 replies, 2 voices, and was last updated 7 years, 8 months ago by
silas burton.
-
AuthorPosts
-
July 29, 2018 at 7:09 pm #1585553
silas burton
ParticipantHello
I have done a little bit of digging on how to do this. i found some good info on the support page. i have tried to implement it but for some reason it’s not working.I’m trying to remove the remaining tickets in my events.
I have used google developers console to find the code. Changed Block to None and got it to disappear as ide like.
I have copied the code..tribe-events-tickets .tribe-tickets-remaining {
color: #777;
display: block; Change to None
font-size: 11px;
}I uploaded a child theme that came with Betheme. And activated it
Created the folder structure and betheme-Child\tribe-events\event-tickets and added a copy of
rsvp.min.css.
in Rsvp.min.css I found the code area for .tribe-events-tickets .tribe-tickets-remaining
I made these changes
tribe-tickets-remaining{color:#777;display:none!important;font-size:11px}
and also tried
tribe-tickets-remaining{color:#777;display:none;font-size:11px}
I cleared my temp internet files but still donβt see the change.im not sure but do i need to tell the tickets plugin where to look for the child theme. ?
thanks for your helpJuly 31, 2018 at 12:40 pm #1587049Barry
MemberHi Silas,
Sounds like you have made a great start!
Overriding rsvp.min.css in this way is not supported, I’m afraid, but if all of your tickets are being added to events you could instead add your rules to tribe-events.css, ie:
betheme-Child/tribe-events/tribe-events.css
Alternatively, how about adding your custom CSS via the Appearance β£ Customize β£ Additional CSS option?
Let me know if that helps π
July 31, 2018 at 6:50 pm #1587196silas burton
ParticipantHello thanks for the quick reply
i have added the code to the Additional css area.
after doing so i have not seen any changes. i opened Mozilla with a freshly cleared cachei have followed ur instruction on creating a new css for tribe-events.css in the location above.
i created a blank css and add the code tribe-tickets-remaining{
color:#777;
display:none;
font-size:11px
}any ideas what im doing wrong?
August 1, 2018 at 10:48 am #1587859Barry
MemberHi Silas:
I see your custom tribe-events/tribe-events.css stylesheet is in place, but there’s a minor error:
tribe-tickets-remaining{ color:#777; display:none; font-size:11px }To be a valid selector, you need a dot immediately before the class name (with no spaces in-between), as follows:
.tribe-tickets-remaining { display: none; }Notice I removed the color and font-size rules – you can keep these if you like, but since we don’t want this element to display at all they are surplus π
Does that help?
August 1, 2018 at 9:14 pm #1588197silas burton
Participantso i have made the changes. but it still not working. i can see the child theme been applied. but google just crossing it out. i have tried to put !important behind it. with no luck.
thoughts
August 1, 2018 at 9:15 pm #1588200silas burton
Participantscreen
August 2, 2018 at 6:15 am #1588452Barry
MemberOK – can you try removing the ‘e’ at the end of ‘importante’? To clarify, try with the rule written like this:
.tribe-tickets-remaining { display: none !important; }August 24, 2018 at 9:35 am #1605062Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Removing Remaining tickets from event’ is closed to new replies.
