![]() |
(http://www.codingforums.com/forumdisplay.php?f=70)
removing responsiveness from wordpress theme
any idea how i would go about removing the responsiveness from a wordpress theme so that it always looks like the full monitor version?
just looking for some direction here. please advise. thanks in advance. |
Assuming that it's just done with media queries in the css, like the twentyeleven theme, then you just need to delete all the entries at the bottom of style.css - the ones that start:
Code:
@media (max-width: 800px) |
thanks. it gets a little complicated in that I'm using a child theme. so none of those media queries even exist in the child theme's style sheet. so i'm looking for a way to cancel out the media queries of the parent theme's style sheet.
any idea how to do that? |
Well, technically you'd have to replicate all the media queries in the parent stylesheet into your child theme and set all the values the same as the "normal" css, but that' sounds like a painful exercise. So, if you have something like:
Code:
@media (max-width: 600px) {Code:
#page{Code:
@media (max-width: 600px) {My preferred option is to create a new theme rather than a child theme, then you're in control of what's happening. |
| All times are GMT +1. The time now is 02:16 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.