Shortcode "View More…"

Home Forums Calendar Products Events Calendar PRO Shortcode "View More…"

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1613040
    Robert Lee
    Participant

    I 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

    #1614430
    Sky
    Keymaster

    Hi 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,
    Sky

    #1614431
    Robert Lee
    Participant

    No, I’m sorry. The page was an internal page (…/about/).

    That said, I’ll try that and make that work! Thank you!

    #1615256
    Sky
    Keymaster

    Hi 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,
    Sky

    #1615598
    Robert Lee
    Participant

    Very helpful. Thank you!

    Now, last question – I promise. How would I then add that to posts and categories?

    #1616169
    Sky
    Keymaster

    Hi 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,
    Sky

    #1633774
    Support Droid
    Keymaster

    Hey 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

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Shortcode "View More…"’ is closed to new replies.