bbc_admin
April 12, 2024 at 11:38 am
Hi. How would I center the title for my event? Right now it is left justified. Also, can I center the date of the event? Thanks.
Sam
April 12, 2024 at 12:01 pm
Add New Note to this Reply
Hi There,
Yes, you can adjust the alignment of the title and event date with custom CSS.
Can you please share a direct link to the event page so that we can help you better with the exact CSS to adjust that?
Looking forward to helping you.
Sam
April 13, 2024 at 1:22 am
Add New Note to this Reply
I think the link you have shared is a preview link and the event is not published yet.
Please publish the event and share the link so that we can help you better.
bbc_admin
April 14, 2024 at 4:57 pm
Add New Note to this Reply
Oh, sorry. Please try this one: https://bbcchurch.org/events/better-marriage
Rio
April 14, 2024 at 5:38 pm
Add New Note to this Reply
Hello,
You can inspect element, so you will have idea which one to edit.
https://monosnap.com/file/cQzC4IP9Cc1XOOHTqjpJKJ6V1ld0TC
You will notice though you can target h1.entry-title, i added .espresso_events as it is the elemenent before that h1, and this will isolate the changes to all EE h1 title.
.espresso_events h1.entry-title {
text-align: center;
}
Then paste the code to your theme, by going to WP Dashboard -> appearance -> customize -> additional css
thanks
bbc_admin
April 14, 2024 at 5:46 pm
Add New Note to this Reply
Oh sweet, that worked! Thanks!
Rio
April 14, 2024 at 5:51 pm
Add New Note to this Reply
Awesome! Have a wonderful day.
If you need anything, feel free to reach us again.
thanks
bbc_admin
April 15, 2024 at 2:42 pm
Add New Note to this Reply
Oh, Do you know how I can center the date with the add to calendar option?
Tony
April 15, 2024 at 3:08 pm
Add New Note to this Reply
Hi there,
You’ll need something like this:
.espresso_events .ee-event-datetimes-ul li {
width: auto;
}
bbc_admin
April 16, 2024 at 7:07 am
Add New Note to this Reply
That works! Thank you so much for all your help!
Tony
April 16, 2024 at 7:08 am
Add New Note to this Reply
You’re most welcome 🙂