- Posts: 17
- Thank you received: 0
Timeline Layout Format Change
- Siterelish LRM
- Topic Author
- Offline
- New Member
-
Less
More
9 years 2 months ago #92864
by Siterelish LRM
Timeline Layout Format Change was created by Siterelish LRM
I would like to change the circle in the up-coming events timeline layout design to more of a rounded rectangle. My hunch is that this is accomplished with CSS but I can't figure out how to change the code to make this happen. Any help would be greatly appreciated. Thanks!
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
9 years 2 months ago #92867
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Timeline Layout Format Change
You're exactly right about this being editable via CSS.
In [Event Booking -> Configuration -> Custom CSS tab], add the following lines, adjusting the 25% value to whatever you want (the original value was 100% in order to make a circle).
In [Event Booking -> Configuration -> Custom CSS tab], add the following lines, adjusting the 25% value to whatever you want (the original value was 100% in order to make a circle).
Code:
.eb-event-date{
border-radius: 25%;
-moz-border-radius: 25%;
-webkit-border-radius: 25%;
}
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
The following user(s) said Thank You: Tuan Pham Ngoc
Please Log in or Create an account to join the conversation.
- Siterelish LRM
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
9 years 2 months ago #92869
by Siterelish LRM
Replied by Siterelish LRM on topic Timeline Layout Format Change
Worked like a charm - thanks so much James!
Please Log in or Create an account to join the conversation.
- Siterelish LRM
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
9 years 1 month ago #93794
by Siterelish LRM
Replied by Siterelish LRM on topic Timeline Layout Format Change
Hmm, I can't get the information in container to be centered. Right now there is a huge gap at the top (above the number of the day of the date) of the container and barely a margin at the bottom (underneath the year of the date). I've tried CSS for margin and padding, but can't add extra white space in underneath the year.
Anyone have any suggestions?
Anyone have any suggestions?
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
9 years 1 month ago #93795
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Timeline Layout Format Change
Can you post a URL where I can see a sample?
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
- Siterelish LRM
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
9 years 1 month ago #93796
by Siterelish LRM
Replied by Siterelish LRM on topic Timeline Layout Format Change
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
9 years 1 month ago - 9 years 1 month ago #93798
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Timeline Layout Format Change
It took me a few minutes to find the culprit code... it looks like the existing box-sizing declaration is the trouble maker.
Add the following to your existing .eb-event-date rule-set in your custom CSS
From what I can see through my Inspector window, it should end up looking something like this:
Add the following to your existing .eb-event-date rule-set in your custom CSS
Code:
box-sizing: content-box;
padding: 5px 0px 0px 0px;
From what I can see through my Inspector window, it should end up looking something like this:
Code:
.eb-event-date {
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
box-sizing: content-box;
padding: 5px 0px 0px 0px;
}
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Last edit: 9 years 1 month ago by James Riley.
The following user(s) said Thank You: Tuan Pham Ngoc
Please Log in or Create an account to join the conversation.
- Siterelish LRM
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
9 years 1 month ago #93799
by Siterelish LRM
Replied by Siterelish LRM on topic Timeline Layout Format Change
Awesome; thank you! Once again, you rock James!!!
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.