Hide the preview of the event text in photo view

Home Forums Calendar Products Events Calendar PRO Hide the preview of the event text in photo view

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1165074
    Alessandro
    Participant

    hello, to create the pages of events I use fusionbuilder of avada , so the preview of events page in photo view displays the code (look at the screen for a better understanding or go on http://www.teatronovanta.it/eventi/foto/ ) , so I wanted to know if it was possible to hide the preview and read more . Thank you

    Ps in the window Title can I show the price, the venue and the city?

    #1165170
    Geoff
    Member

    Hey @Alessandro, nice to see you again!

    Try adding this to your child theme’s style.css file or by using the Simple Custom CSS plugin:

    .tribe-events-photo .fusion-post-content-container {
    display: none;
    }

    Here’s a screenshot of how that looks when I test it out on your site. Will that work for you as well? Please let me know. 🙂

    Cheers!
    Geoff

    #1165357
    Alessandro
    Participant

    Yes it works, but still shows the message “find out more”, can i hide it? I would also like to know if is possible to show venue, city and price in the title window under the title… TNX

    #1165844
    Geoff
    Member

    Hi Alessandro,

    Thanks for following up!

    The “find out more” link can be hidden with this:

    .fusion-meta-info {
    display: none;
    }

    Here’s a screenshot of how that looks when I test it out.

    Yes, it is possible to show the event city and price under the title. You may actually want to reach out to the Avada theme author for that one though, because Avada already uses cutom templates for The Events Calendar and they would be much more familiar with the code.

    The two functions you will want to use are:

    • tribe_get_city()
    • tribe_get_formatted_cost()

    You will add those to the template where you would like them to be displayed. Again, you may want to reach out to the Avada theme author for more guidance here, but I believe you will be able to find the template in the Avada theme directory at: /wp-content/themes/Avada/tribe-events/pro/photo/single-event.php.

    Sorry I don’t have a concrete solution for you here, but I really do hope that at least helps get you started and that the Avada theme author will be able to pick up any questions from there.

    Cheers!
    Geoff

     

    #1174951
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Hide the preview of the event text in photo view’ is closed to new replies.