Home › Forums › Calendar Products › Events Calendar PRO › Month View | current Month and Year centered in Footer
- This topic has 7 replies, 2 voices, and was last updated 7 years, 9 months ago by
gdpr20190717.
-
AuthorPosts
-
July 17, 2018 at 7:33 am #1577136
gdpr20190717
ParticipantHello,
how can i echo the current Month and year in the middle of the Footer?
Ive got the Footer above my Calender now, and i have the Month displayed, but ist Always on the left .
Take a look here:
https://www.hoegner-farben.de/wp/veranstaltungen/
the next Thing is , how can i disply it on german? its english at the moment. And there is a black boarder wich i dont want to have, anyone a idea how to remove it?ROLS
July 17, 2018 at 11:04 am #1577448Sky
KeymasterHi there!
Thanks for reaching out. I will try to help with your questions.
1) To center the information in the month navigation, you can add the following CSS snippet:
#tribe-events-footer .tribe-events-sub-nav {
display: flex;
justify-content: space-between;
}
2) To add the Month and Year in there, you will want to copy the following file: plugins/the-events-calendar/src/views/month/nav.php into [your-theme]/tribe-events/month/nav.php. Here is an example of how you might approach adding the month and year:
https://gist.github.com/skyshab/f13319432048d76c00062b10e7d18916
3) Can you provide a screenshot and further description indicating which border you wish to change?
Hope that helps! Let me know if you have any questions about this.
Thanks,
SkyJuly 17, 2018 at 11:27 pm #1577772gdpr20190717
ParticipantHi,
great that works fine with the year and centering 🙂i attached a screenshot where you can see the black border.
and on https://www.hoegner-farben.de/wp/veranstaltungen/ you can see it live.Thanks
ROLSJuly 18, 2018 at 8:32 am #1578072Sky
KeymasterHi again,
I’m glad the other code snippets worked for you.
I took another look at your site, and it seems that your theme is adding some border styles to some pseudo-elements. To hide those, try the following CSS:
.fusion-events-before-title .fusion-events-title-above:after, .fusion-events-before-title .fusion-events-title-above:before {
content: none!important;
}
Let me know if that works for you.
Thanks,
SkyJuly 18, 2018 at 11:44 pm #1578789gdpr20190717
Participantis Hello Sky,
i tried but the borders still there 🙁
ROLS
July 19, 2018 at 7:21 am #1579061Sky
KeymasterHello,
Looking at your site, I no longer see the borders, and I do see the CSS I provided being added in the page output. Perhaps try clearing your browser cache?
In any case, this appears to be something your theme or a plugin is adding, and we can’t really provide customization help for third party themes and plugins here in our support forums.
Good luck, and let us know if you have any Events Calendar specific questions or issues in the future.
Thanks,
SkyJuly 19, 2018 at 11:18 pm #1579804gdpr20190717
ParticipantHello,
i looked at the code and changed it to:
.fusion-events-before-title .fusion-events-title-above:before {
content: none!important;
}.fusion-events-before-title .fusion-events-title-above:after {
content: none!important;
}and now it works.
Thanks Sky
July 20, 2018 at 8:21 am #1580063Sky
KeymasterHi again,
Great! Glad that fixed your problem.
Please let us know if you have any questions or issues in the future.
Thanks,
Sky -
AuthorPosts
- The topic ‘Month View | current Month and Year centered in Footer’ is closed to new replies.
