Return to Month snippet centered at bottom but not at top

Home Forums Calendar Products Events Calendar PRO Return to Month snippet centered at bottom but not at top

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1007620
    Steven W
    Participant

    I added the snippet you all offered for displaying the “Return to Current Month” link at the bottom of the calendar month view. I also added css that puts the nav links at the top of the calendar — which also puts “Return to Current Month” at the top. Perfect! Except that the “Return to Current Month” link at the top is not centered… I appears immediately after the link for the previous month… Seems like it would be pretty easy to get that to be centered, as it is on the bottom, but that’s easy for me to say — not so easy for me to do… Suggestions?

    #1008484
    Brook
    Participant

    Howdy Mark,

    Good question. I just tested out this CSS, and was able to get that current events link centered. Just add this to the same CSS file as the one you modified for making the links appear up top:

    .tribe-events-month #tribe-events-header .tribe-events-sub-nav li{
    display:inline-block;
    }
    
    #tribe-events-header .tribe-events-sub-nav .tribe-events-nav-current{
    float:none;
    }

    Did that work? Cheers!

    – Brook

    #1008492
    Steven W
    Participant

    That worked perfectly, Brook. Y’all are the best! Thanks!

    #1008507
    Steven W
    Participant

    Thanks, Brook! Exactly what I needed. Just gave you all a 5-star on the WP forum. Y’all earned it today!

    #1008718
    Brook
    Participant

    Thanks Mark! I appreciate it very much. Let us know if you ever need anything else.

    Cheers!

    – Brook

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Return to Month snippet centered at bottom but not at top’ is closed to new replies.