Main menu

Forum


× Help Forum English

Replace main 'add to calendar' icon

  • ryan2468!
  • Topic Author
  • New Member
  • New Member
More
9 years 4 months ago #10851 by ryan2468!
Replace main 'add to calendar' icon was created by ryan2468!
I am trying this in my site's css:

.iCicon-calendar::before {
    content: url("/images/icons/CalendarIconSimple_2.jpg") !important;
}

but it doesn't work. If I just do text it works, but the image doesn't.

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
9 years 4 months ago #10854 by Lyr!C
Replied by Lyr!C on topic Replace main 'add to calendar' icon
Hello,

I think this is because the url of the image is not good.

Try something like this (to got back with a "../" for each previous folder, before returning to root)

url("../../../../../../images/icons/CalendarIconSimple_2.jpg")

The number of "../" to get one folder upper, depends of where the css file is.

If you use the custom CSS option of iCagenda (global options) your code may work with no folder backs, as the custom CSS are loaded in the header.

Hope this helps ?

Best Regards,
Cyril

Latest version : iCagenda 3.9.8
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:

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

  • ryan2468!
  • Topic Author
  • New Member
  • New Member
More
9 years 4 months ago #10861 by ryan2468!
Replied by ryan2468! on topic Replace main 'add to calendar' icon
I don't think so...

I am using a custom css file located in my site's template that normally will affect component/extensions as well. /Images is the folder right before root... and i tried using the whole url and it still doesn't either.

Not seeing the custom CSS option within icagenda.

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
9 years 4 months ago #10865 by Lyr!C
Replied by Lyr!C on topic Replace main 'add to calendar' icon
Hi!

Maybe checked in your site template css files, if some declaration use a image url (and if media, the part of the path before, with dots and slashes, should be the same).

About iCagenda's custom CSS option, you can find it in the global options, at the bottom of the "general settings" tab...

Cyril

Latest version : iCagenda 3.9.8
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:

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

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

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new