Main menu

Forum


× Help Forum English

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

  • PeteSCCS
  • Topic Author
  • User is blocked
  • User is blocked
More
10 years 8 months ago - 10 years 8 months ago #7325 by 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?
Last edit: 10 years 8 months ago by Lyr!C.

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
10 years 8 months ago #7374 by 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 Attachment:

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

  • PeteSCCS
  • Topic Author
  • User is blocked
  • User is blocked
More
10 years 8 months ago #7429 by PeteSCCS
sorry for the two silly questions, and thank you for your civil responses despite my stupidness :)

:blush:

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
10 years 8 months ago #7430 by Lyr!C

PeteSCCS wrote: 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 Attachment:

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

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

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new