Main menu

Forum


The developer takes a few days off for Summer vacation...
...and will be back with charged battery!

From 14 June to 29 June, 2025 included
During this period,
assistance from developer will not be provided.

NEWS: iCagenda 4.0.0-alpha1 will be available for testing for users with a PRO subscription in July!

× Help Forum English

[SOLVED] center image in event view / button color

  • cur1ous
  • Topic Author
  • New Member
  • New Member
More
2 years 10 months ago - 2 years 10 months 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: 2 years 10 months 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
2 years 10 months ago - 2 years 10 months 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 : iCagenda 3.9.11
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: 2 years 10 months 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
2 years 10 months 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.130 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new