Main menu

Forum


× Help Forum English

Replace main 'add to calendar' icon

  • ryan2468!
  • Autore della discussione
  • New Member
  • New Member
Di più
9 Anni 4 Mesi fa #10851 da ryan2468!
Replace main 'add to calendar' icon è stato creato da 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.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
9 Anni 4 Mesi fa #10854 da Lyr!C
Risposta da Lyr!C al 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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • ryan2468!
  • Autore della discussione
  • New Member
  • New Member
Di più
9 Anni 4 Mesi fa #10861 da ryan2468!
Risposta da ryan2468! al 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.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
9 Anni 4 Mesi fa #10865 da Lyr!C
Risposta da Lyr!C al 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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.084 secondi

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new