Countdown timer widget: How to center the div containing the countdown timer

Home Forums Calendar Products Events Calendar PRO Countdown timer widget: How to center the div containing the countdown timer

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #943903
    Caroline
    Participant

    I want to add the countdown timer widget to the homepage of my website, but I’m having trouble centering the div containing the countdown timer.

    I tried this:

    #homepage-widget div.tribe-countdown-timer {
    margin: 0 auto;
    }

    but it didn’t work. Any suggestions?

    #943966
    Brian
    Keymaster

    Hi,

    Thanks for using our plugins. I can help out with this.

    Do you have a link you can share for this and I can take a quick look and offer some suggestions to get this to center.

    You can share the link in a private reply if you like.

    Let me know.

    Thanks

    #943976
    Caroline
    Participant

    This reply is private.

    #943981
    Brian
    Keymaster

    That was is a little tricky because of the content constantly changing for the countdown.

    I was able to get this css to work:

    .widget.tribe-events-countdown-widget {
    width: 345px;
    margin: 0 auto;
    }

    See if that works for you.

    Thanks

    #944012
    Caroline
    Participant

    Yes, that worked for me too. Thanks so much!

    #944024
    Brian
    Keymaster

    Great, glad it helps, I am going to go ahead and close this ticket, but if you need help on this or something else please post a new ticket.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Countdown timer widget: How to center the div containing the countdown timer’ is closed to new replies.