Home › Forums › Calendar Products › Events Calendar PRO › Shortcode "View More…"
- This topic has 5 replies, 2 voices, and was last updated 7 years, 6 months ago by
Robert Lee.
-
AuthorPosts
-
September 4, 2018 at 8:08 am #1613040
Robert Lee
ParticipantI have a part of the site where I’m using the shortcode for listing 1 event. I would like to remove the “View More…” link to the full calendar.
How would I do that?
The page I need help with: http://atlspurs.2gstrategies.com
September 5, 2018 at 11:06 am #1614430Sky
KeymasterHi there,
Thanks for reaching out. I’d be happy to help with your question.
The easiest way to accomplish this would probably be to use CSS to hide the link.
For example, and the page you linked to, you could use the following CSS snippet:
.home .tribe-events-widget-link { display: none!important; }
I do see multiple events on that page, so I’m not sure if that is the same page you were referring to.
Let me know if that works for you.
Thanks,
SkySeptember 5, 2018 at 11:10 am #1614431Robert Lee
ParticipantNo, I’m sorry. The page was an internal page (…/about/).
That said, I’ll try that and make that work! Thank you!
September 6, 2018 at 8:53 am #1615256Sky
KeymasterHi again,
For that particular page, you can use the following snippet:
.page-id-8 .tribe-events-widget-link {
display: none!important;
}
Basically, the first selector will be the body class that identifies the specific page or pages that you wish to target.
Hope that helps!
Thanks,
SkySeptember 6, 2018 at 12:39 pm #1615598Robert Lee
ParticipantVery helpful. Thank you!
Now, last question – I promise. How would I then add that to posts and categories?
September 7, 2018 at 7:17 am #1616169Sky
KeymasterHi again,
This is just using the body class that specifies the view where we want the CSS to apply. The body classes may differ depending on your theme, but most will include a body class with the post id for single posts. And likewise, there is usually a class for archives, categories, etc. You will need to look at the body classes on pages/posts/archives where you want the styles to apply, and see how your theme handles things.
Hope that helps!
Thanks,
SkySeptember 29, 2018 at 9:35 am #1633774Support 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 ‘Shortcode "View More…"’ is closed to new replies.
