Home › Forums › Calendar Products › Events Calendar PRO › Customizing single event php
- This topic has 4 replies, 2 voices, and was last updated 8 years, 9 months ago by
Cynthia Gordon.
-
AuthorPosts
-
July 28, 2017 at 7:37 am #1327408
Cynthia Gordon
ParticipantI am trying to remove the featured image from the single event page. The image has been removed, but the event title area isn’t viewing correctly.
I followed the directions to customize template file in the Themers Guide. I have a child theme and so wonder where exactly the customized template should be located? In a newly created wp-content/themes/your-theme/tribe-events/tribe-events pro?
Here is what my file structure looks like.
/wp-content/themes/Avada/tribe-events/single-event.phpHere is a link to the live page as it is now.
http://breckfilmfest.org/event/toxic-puzzle/Another strange thing, the calendar is no longer showing up on right side/column.
thanks for your help, cynthia
July 28, 2017 at 9:01 pm #1327794Geoff B.
MemberGood evening Cynthia and welcome back!
Thank you for reaching out to us.
We are sorry to hear about the event title not displaying properly after you have removed the featured image. I would love to help you with this topic.
Try adding the following CSS rule to your style.css file or in your Custom CSS metabox:
.fusion-events-featured-image {
min-height: 100px !important;
min-width: 100% !important;
}where exactly the customized template should be located?
That depends on the view file you are editing. More specifically, it will depend on where the file you are editing is located (in which plugin): the Events Calendar, the Events Calendar Pro, etc…
For example, a view file that comes from Pro will go in /wp-content/themes/your-theme/tribe-events/pro/
But do that, especially with Avada, we highly recommend using a child theme.
Otherwise your changes will be lost the moment you upgrade the theme.That being said, to edit the single event view, your file structure looks sound.
Another strange thing, the calendar is no longer showing up on right side/column.
I am not quite sure what you mean by that.
On the single event page ? Elsewhere ?If you could share both the context and perhaps and example of a site where this is working to your expectation, that would be awesome.
Have a good weekend,
Geoff B.
July 31, 2017 at 10:36 am #1328399Cynthia Gordon
ParticipantWorked great, thanks!
Re: the calendar. If you can see the link below, I have our calendar view set as list, but I thought before that, in list view, there was also a calendar (widget?) in the right column. This calendar was also visible on single event view as well.
http://breckfilmfest.org/events/
Thanks for your help!
August 1, 2017 at 11:20 pm #1329285Geoff B.
MemberGood evening Cynthia,
Thank you for writing back.
I am super stoked to hear that this solved your issue.
I just paid a quick visit to your site and it looks like you also figured out a way to get the calendar widget in place.Kudos for that!
You are welcome back in our support forums any time 🙂
For now, I am going to close this thread.
Have a great week!
Geoff B.
-
AuthorPosts
- The topic ‘Customizing single event php’ is closed to new replies.
