Main menu

Forum


× Help Forum English

[SOLVED: Not a bug, a new feature!] Bug: CSS inserted inline into <head>, can't style elements

  • PeteSCCS
  • Autore della discussione
  • Utente bloccato
  • Utente bloccato
Di più
10 Anni 8 Mesi fa - 10 Anni 8 Mesi fa #7325 da PeteSCCS
Hi,

Don't know if this is a recent change, but iCagenda is inserting the following into my <head> tag

<style type="text/css">

@media screen and (min-width:769px){



#icagenda .information {
	text-align: center;
	width: auto;
}

#icagenda .information .infoleft {
	width: 86%;
}

#icagenda .information .infomiddle {
	width: 64%;
}

#icagenda .information .inforight {
	width: 100px;
}

}

@media screen and (min-width:481px) and (max-width:768px){



#icagenda .event-header {
	width: auto;
}
#icagenda .title-header {
	width: 98%;
	text-align: left;

... continues for some more lines ...

Meaning that changes I make in the themes/packs CSS files are being overwritten, and I cannot style particular elements.

Presumably this should be using a <link rel="stylesheet"...> instead?
Ultima Modifica 10 Anni 8 Mesi fa da Lyr!C.

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

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
10 Anni 8 Mesi fa #7374 da Lyr!C
Hi again,

Please, check again the ChangeLog. :whistle: :lol:

The reason is a new system to be able to load media queries, and being able to set the width for screen devices direclty in global options of iCagenda.

(Release Notes 3.3.0)

If you don't want to use this responsive designe and css styling, just create a theme pack and remove the media queries css files ;-)
In all cases, when you are éditing included theme pack (default or ic_rounded) don't do it in those folder, but duplicate with your name to create your own theme pack. This way, you custom theme will be never remove after an update of iCagenda. B)

Hope this help!
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.

  • PeteSCCS
  • Autore della discussione
  • Utente bloccato
  • Utente bloccato
Di più
10 Anni 8 Mesi fa #7429 da PeteSCCS
sorry for the two silly questions, and thank you for your civil responses despite my stupidness :)

:blush:

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

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
10 Anni 8 Mesi fa #7430 da Lyr!C

PeteSCCS ha scritto: sorry for the two silly questions, and thank you for your civil responses despite my stupidness :)

:blush:


You're welcome!

A question is never stupid ;)

The real reason of this system is for user to be able to change media screen size, if needed to be ajusted with a site template other values (in fact, a simple way to give easy setting for user without editing code. Note that a media css file in theme pack is empty (no styling) this is not loaded in header ;-) )

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.

Moderatori: Lyr!C
Tempo creazione pagina: 0.169 secondi

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new