Help with media query

Help with media query
0.0 0

#1

hi there i’m setting a website and when i pass the media query the css rule doesnt apply?

what am i doing wrong? XD i have done all the reponsive but this particular part i can’t…

i wonder

.related{width: 960px;margin: 0 auto; height: 720px;}

@media only screen and (min-width: 1200px) {
.related{width:1200px;margin: 0 auto; height: 430px;}
}



#2

@grumaldisposto The media query code you have here looks correct to me and should work. There might be a problem somewhere else in your CSS or HTML that’s interfering with what you want to do.


#3

ok sr. ty for your help. i think i have resolved the issue. sorry for the late answer