Need to do picture of detailed event form bigger

  • Tim Stöhr
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
10 years 6 months ago #68958 by Tim Stöhr
Replied by Tim Stöhr on topic Need to do picture of detailed event form bigger
Hey, how can I center the thumbnail? I dont want any writing left or right of it.

Thanks

Tim

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

More
10 years 6 months ago #68963 by James Riley
Replied by James Riley on topic Need to do picture of detailed event form bigger

Tim Stöhr wrote: Hey, how can I center the thumbnail? I dont want any writing left or right of it.

Learn CSS :)
Looks like the class eb-thumb-left is hard-coded in whenever the thumbnail is displayed. You could modify the class by adding the following to your /media/com_eventbooking/assets/css/custom.css file:
Code:
.eb-thumb-left { float: none !important; margin: 0px auto !important; display: block; }

This will change the way the tumbnail behaves EVERYWHERE that EB shows it.
If you want it to happen only on specific views, then you'll have narrow the class definition down a bit more -- Post a link to the page(s) you want to effect and I can provide the correct CSS.

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.

  • Tim Stöhr
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
10 years 6 months ago #68966 by Tim Stöhr
Replied by Tim Stöhr on topic Need to do picture of detailed event form bigger
Hey James, thanks, yeah I had the problems with that it was hard-coded.

I was trying to change it but yeah, it was hardcoded in. I didnt know that eventsbooking also had a custom.css override.

Will try it.

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

Moderators: Tuan Pham Ngoc