Month View | current Month and Year centered in Footer

Home Forums Calendar Products Events Calendar PRO Month View | current Month and Year centered in Footer

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1577136
    gdpr20190717
    Participant

    Hello,

    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

    #1577448
    Sky
    Keymaster

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

    #1577772
    gdpr20190717
    Participant

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

    #1578072
    Sky
    Keymaster

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

    #1578789
    gdpr20190717
    Participant

    is Hello Sky,

    i tried but the borders still there 🙁

    ROLS

    #1579061
    Sky
    Keymaster

    Hello,

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

    #1579804
    gdpr20190717
    Participant

    Hello,

    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

    #1580063
    Sky
    Keymaster

    Hi again,

    Great! Glad that fixed your problem.

    Please let us know if you have any questions or issues in the future.

    Thanks,
    Sky

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Month View | current Month and Year centered in Footer’ is closed to new replies.