Home › Forums › Calendar Products › Events Calendar PRO › CSS to Remove "All Events" link not working for me
- This topic has 11 replies, 3 voices, and was last updated 8 years, 11 months ago by
Christine.
-
AuthorPosts
-
March 23, 2017 at 1:37 pm #1259025
Christine
ParticipantI attempted hiding the link with CSS as described by various discussions; however, this is not working for me. Is it because I am pasting in my theme’s Advanced CSS Customization box? Do I have to go through PHP?
Example of the unwanted “All Events” link here:
http://destinationardmore.com/?tribe_events=quizzo-night-john-henrys-pub-5The reason I am trying to remove the “All Events” link is because I want my “main” events page to be
http://destinationardmore.com/?page_id=12188
INSTEAD of the generic. If there is a way to customize what page the All Events link goes to that would be helpful too.Thank you.
March 23, 2017 at 2:13 pm #1259073Cliff
MemberHi, Christine.
Sorry you’re having this difficulty/confusion regarding this customization.
Could you please provide the code snippet you’re trying that isn’t working?
March 23, 2017 at 4:30 pm #1259204Christine
ParticipantI tried the following:
p.tribe-events-back {
display: none !important;
}.tribe-events-back {
display: none;
}.dig-in {
display: none;
}March 24, 2017 at 3:40 pm #1259858Cliff
MemberThank you.
I visited and this works just fine for me:
body.single-tribe_events p.tribe-events-back { display: none !important; }However, this is really what you want (and doesn’t require the CSS):
https://gist.github.com/cliffordp/0142cad413df89d0b6515e17e5084041
Please let me know how this goes for you.
March 28, 2017 at 1:04 pm #1261086Christine
ParticipantThank you. I ended up downloading Simple Custom CSS and pasting your code. For some reason my theme’s CSS option isn’t working.
Another issue:
Why can’t I load other months?
http://destinationardmore.com/?page_id=12188#March 30, 2017 at 2:54 pm #1262319Courtney
MemberHi Christine
I am stepping in for Cliff while he attends our company retreat. He should be back in within a few days.
Could you try the solution Cliff mentioned:
https://gist.github.com/cliffordp/0142cad413df89d0b6515e17e5084041
I’m afraid the CSS code you are using may be the element limiting your ability to view other months. 🙁
Please let us know if Cliff’s solution works.
Thanks,
Courtney 🙂March 31, 2017 at 7:07 am #1262546Christine
ParticipantHello,
I actually am a novice and don’t know how to add PHP. I attempted to download a random plugin to do so but feared I would mess things up. Do you have a recommended plugin with instructions I could try?
Thanks.April 3, 2017 at 7:57 pm #1263677Cliff
MemberHi, Christine.
Welcome to WordPress customizing!
Best practice for adding custom code (like to implement a PHP snippet to modify The Events Calendar) is to create a functionality plugin, unless it’s something specific to your theme, in which case best practice is to make sure you’re using a child theme, then add the customization to your child theme’s functions.php file.
Note: do not include the opening <?php tag from the gist.
I hope this information helps!
April 20, 2017 at 7:04 am #1272128Christine
ParticipantThanks for the explanation, but the “create a functionality plugin” link isn’t working for me. Can you send another?
April 20, 2017 at 1:18 pm #1272371Cliff
MemberSorry that link didn’t work for you. Maybe the site was down temporarily; it just worked for me.
Here’s another resource on the topic: https://theeventscalendar.com/adding-code-site-youre-not-coder/
Please let me know how this goes for you.
May 12, 2017 at 9:35 am #1283105Support 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 ‘CSS to Remove "All Events" link not working for me’ is closed to new replies.
