Main menu

Forum


× Help Forum English

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

  • PeteSCCS
  • Auteur du sujet
  • Cet utilisateur est bloqué
  • Cet utilisateur est bloqué
Plus d'informations
il y a 10 ans 8 mois - il y a 10 ans 8 mois #7325 par 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?
Dernière édition: il y a 10 ans 8 mois par Lyr!C.

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 10 ans 8 mois #7374 par 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) .

Fichier attaché :

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

  • PeteSCCS
  • Auteur du sujet
  • Cet utilisateur est bloqué
  • Cet utilisateur est bloqué
Plus d'informations
il y a 10 ans 8 mois #7429 par PeteSCCS
sorry for the two silly questions, and thank you for your civil responses despite my stupidness :)

:blush:

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 10 ans 8 mois #7430 par Lyr!C

PeteSCCS écrit: 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) .

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.093 secondes

 

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new