Themes - Where can I find the CSS for the various themes

  • David Unwin
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
6 years 8 months ago #118640 by David Unwin
I would like to override some of the colours of the 'Leaf' Theme in Events Booking.
But I can't find the css anywhere? I saw some threads that Event Booking used Twitter Bootstrap for css. But still no look.
Can anyone point me in the right direction?
Thanks in advance

David

Please Log in or Create an account to join the conversation.

  • David Unwin
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
6 years 8 months ago #118642 by David Unwin
Ok I have found the css files.
.....media/com_eventbooking/assets/css/themes.
So now how do I add a new theme?

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #118647 by Tuan Pham Ngoc
Hi

1. You can make a copy of that file, rename it to something else like leaf1.css

2. Go to Events Booking -> Configuration, look at Themes tab, choose that new theme

3. Modify it to meet your own need

However, I don't think that is the right way. If you want to override something, go to Events Booking -> Configuration, look at Custom CSS tab, put any custom css there to override the current behavior / display

Regards,

Tuan
The following user(s) said Thank You: David Unwin

Please Log in or Create an account to join the conversation.

  • David Unwin
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
6 years 8 months ago - 6 years 8 months ago #118651 by David Unwin
Hi Tuan,
After posting my previous message. I did think the best way was as you suggested and put existing css theme code (leaf) into the Custom CSS tab Configuration. See screenshot.
I then modified the CSS in the Custom CSS to meet our needs
This way works perfectly.
Attachments:
Last edit: 6 years 8 months ago by David Unwin. Reason: Text change

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #118652 by Tuan Pham Ngoc
You should only add the chance lines to custom css. You should not put everything from leaf.css to custom css, it will result on double css parse (not needed) and will make the page abit slower

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc