Hallo Leute,
ich bin zwar nicht neu bei Contao aber absoluter "Frischling" was die Community angeht.
Es geht mir im Prinzip um das gleiche Problem wie es rockmo10 geschildert hatte:
Wenn ich die Media Query Angaben in die css eingebe (im Backend via CSS-Editor-Extension) und die Datei speichere (speichern + schließen) dann zerhaut es diese Angaben komplett.
Das heißt aus z.B. das
Code:
/* iPad */
@media only screen and (max-device-width: 768px) and (orientation:portrait), only screen and (max-device-width: 1024px) and (orientation:landscape) {body{background:#fff;} }
/* iPad portrait */
@media only screen and (max-device-width: 768px) and (orientation:portrait) {body{background:fff;} }
wird dann das:
Code:
/* iPad */
@media only screen and (max-device-width: 768px) and (orientation:portrait),
only screen and (max-device-width: 1024px) and (orientation:landscape)
{
body{background:#fff;
}
} /* iPad portrait
{
@media only screen and (max-device-width: 768px) and (orientation:portrait);
}
body{background:fff;
{
};
}
Bei der Auskommentierung fehlen "*/" und mit den geschweiften Klammern scheint contao da auch irgendwie nicht zurecht zu kommen.
Was mache ich noch falsch?
Wäre cool wenn mir jmd. helfen könnte.
Danke.
Lesezeichen