Main menu

Forum


× Help Forum English

Replace main 'add to calendar' icon

  • ryan2468!
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 4 mois #10851 par ryan2468!
Replace main 'add to calendar' icon a été créé par 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.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 9 ans 4 mois #10854 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • ryan2468!
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 4 mois #10861 par ryan2468!
Réponse de ryan2468! sur le sujet 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.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 9 ans 4 mois #10865 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.088 secondes

 

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new