Support

Home Forums Event Espresso Premium Datetime align left

Datetime align left

Posted: August 22, 2024 at 7:04 pm

Viewing 4 reply threads


Edgar Antillon

August 22, 2024 at 7:04 pm

I may not be looking correctly, but I would like to align the datetime to the left on single event pages. Currently it seems to be centered by default.

I looked for previous topics and nothing seemed to fit what I was looking for.

Thanks


Rio

  • Support Staff

August 22, 2024 at 8:07 pm

You can inspect the element, then look for the code affecting it. then you can try to change from there.
https://monosnap.com/file/j14GOtplKp7E1KlXWKVu8VUEGA6gNj

If you can see it was affected. You can now write the code and put it on your site.


.ee-event-datetimes-ul{
    justify-content: left;
}

Just to be sure nothing is affected, you can increase your selector info by adding the class .event-content

so you can add this by going to your WP dashboard -> appearance -> Customize -> Additional CSS


.event-content .ee-event-datetimes-ul{
    justify-content: left;
}

thanks


Edgar Antillon

August 22, 2024 at 8:32 pm

You’re a busy person tonight it seems. That worked.

In mobile datetime module looks stretched out. Any fix for that?

I believe I got it by adding this code, and it seems to work… but want to make sure with you.

.ee-event-datetimes-ul–small .ee-event-datetimes-li {
width: 100%;
}

Thanks for your help


Rio

  • Support Staff

August 22, 2024 at 8:38 pm

Seems fine on my end. If you can take a screenshot and point out the one you want to modify, it would be great. So it would be easier for me to suggest the things you can do.

thanks


Edgar Antillon

August 22, 2024 at 8:45 pm

It actually modified that whole module to 100% across all devices not just mobile. Which is fine for me. You’re busy, and my request was addressed, so no need to take up any more of your time. Thanks.


Rio

  • Support Staff

August 22, 2024 at 11:41 pm

Awesome. If you need anything, feel free to reach us again.

thanks

Viewing 4 reply threads

The support post ‘Datetime align left’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso