Main menu

Forum


× Help Forum English

[SOLVED] center image in event view / button color

  • cur1ous
  • Topic Author
  • New Member
  • New Member
More
3 weeks 10 minutes ago - 3 days 19 hours 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 days 19 hours 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 weeks 23 hours ago - 2 weeks 23 hours 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.7 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: 2 weeks 23 hours 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
1 week 4 days 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.059 seconds

Follow Us

acymailing logo new

Create your Joomla templates with Template Creator CK