![]() |
|
Oh damn, how do you disable mobile theme on WP/ what code resizes images? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Webmasters (https://hackforums.net/forumdisplay.php?fid=141) +---- Forum: Website Construction (https://hackforums.net/forumdisplay.php?fid=50) +---- Thread: Oh damn, how do you disable mobile theme on WP/ what code resizes images? (/showthread.php?tid=5846926) |
Oh damn, how do you disable mobile theme on WP/ what code resizes images? - Account of the Gods - Jun 10, 2018 So my images are getting resized on mobile themes, they are getting smaller while text is equally big. how do i turn it off? i tried looking css files but theres nothing about images resizing.. i have website about memes (containing text) and the image that is resized to smaller version on phone isnt readable im looking for ways to force disabling mobile theme OR responsiveness OR resized images. Much thx! RE: Oh damn, how do you disable mobile theme on WP/ what code resizes images? - Hᴇxᴀɢᴏɴ - Jun 10, 2018 Have you tried disabling it in admin panel under appearance ? I found a method that has worked for others for resizing here Add this code in functions.php It will remove width height attribute of image when you add image to post content. Code add_filter( 'post_thumbnail_html', 'remove_thumbnail_dimensions', 10, 3 );Now add following css in your style.css file Code img{If you'd like send me a PM of the website and I can take a look at the source to see if I find anything. Thanks , Energy RE: Oh damn, how do you disable mobile theme on WP/ what code resizes images? - Account of the Gods - Jun 10, 2018 (Jun 10, 2018 10:13 AM)Energy Wrote: Have you tried disabling it in admin panel under appearance ? is max-width relative to width attribute (pixels)? because it works when i set max-width to 1500%... but its a little blurred. somehow that 1500% is not modyfing my desktop version so its quite ok RE: Oh damn, how do you disable mobile theme on WP/ what code resizes images? - Hᴇxᴀɢᴏɴ - Jun 10, 2018 (Jun 10, 2018 10:26 AM)Fuarkkkkkkkk Tbh Srs Ngl Wrote: is max-width relative to width attribute (pixels)? because it works when i set max-width to 1500%... but its a little blurred. somehow that 1500% is not modyfing my desktop version so its quite ok Are you using a Template/ Theme ? Kind of an odd fix but maybe there is another script in your CSS causing the desktop not to change. |