Main menu
× Help Forum English

[SOLVED] center image in event view / button color

  • cur1ous
  • Topic Author
  • New Member
  • New Member
More
4 months 2 weeks ago - 3 months 4 weeks ago #17856 by cur1ous
Hi there,

is there a way to center an image in the event view when you don't have a fullsize image that fills all the space?
E.g. here the picture is aligned with the left side fswue.de/veranstaltungen/pen-paper-sunday-milan. I'd prefer it to be centered.
Another thing: Can I change the color of the navigation buttons? I've got a dark theme on the webside. Therefore the numbers on the buttons are white on white. fswue.de/aktuelles

Best wishes,
cur1ous
Last edit: 3 months 4 weeks ago by Lyr!C. Reason: [SOLVED]

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

 

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
4 months 1 week ago - 4 months 1 week ago #17858 by Lyr!C
Replied by Lyr!C on topic center image in event view / button color
Hello,

is there a way to center an image in the event view when you don't have a fullsize image that fills all the space?
E.g. here the picture is aligned with the left side fswue.de/veranstaltungen/pen-paper-sunday-milan . I'd prefer it to be centered.

This is supposed to be, but due to the extension JCHOptimize loading a display block on all img tags, this is why it is not centered.
Add this custom css (could be done in iCagenda option for that, in the options of component, General Settings tab (at bottom).
This CSS:
.ic-image img { display: inline-block; }

About;

Another thing: Can I change the color of the navigation buttons? I've got a dark theme on the webside. Therefore the numbers on the buttons are white on white. fswue.de/aktuelles


This is not iCagenda list of events, but Joomla core articles ;-)
Look inside the css of your site template.

Best regards,
Cyril
 

Latest version : 3.8.10 Joomla 4 Ready!
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Last edit: 4 months 1 week ago by Lyr!C.
The following user(s) said Thank You: cur1ous

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

  • cur1ous
  • Topic Author
  • New Member
  • New Member
More
4 months 1 week ago #17863 by cur1ous
Replied by cur1ous on topic center image in event view / button color
Thank you! Your solution is working!
What I tried before didn't but you're code solves the issue.

Regarding the second thing: You're totally right. My mistake. I was tired when writing the post :D

Best regards!
The following user(s) said Thank You: Lyr!C

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

Moderators: Lyr!C
Time to create page: 0.172 seconds

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new