Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 15h 46m 27s
Claim 50% off
Staff replied Templates

@media

Asked by martin 4 years ago Last activity 4 years ago

i'd like change in costum.css

@media (min-width: 1200px)
.container {
width: 1170px;
}
in
@media (min-width: 1200px)
.container {
width: 100% !important;
}

but it doesnt work
what i do wrong?
https://poppcheck.de/litauen.html

3 replies

martin Asked this

IT WORKS ! MARRY XMAS

Rashida Rahman Staff

Hi,

Glad to know that you have made it!

Cheers!

Paul Frankowski Senior Staff
4 years ago · edited

Martin,

After "@media (min-width: 1200px) "
always must be "{" and you have to add closing "}"

Example:

@media (min-width: 1200px) {
.MyStyle {color: yellow;} 
}

this is correct syntax. You know CSS basics.

Log in to reply.