Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Website not responsive on Samsung Galaxy S2

A Wordpress website (using the Genesis framework) I've designed to be responsive displays properly on an iPhone and a HTC but doesn't on Samsung Galaxy phones. (tested on Samsung Galaxy S2 and a Samsung Ace) I'm currently using the FitVids plugin to make the video embeds responsive.

Strangely, pages with no video embeds viewed on a Samsung phone displays properly, but on a page with video embeds, the page layout displayed is that for an tablet screen and not for a phone screen.

I've tried various other plugins but none of them seem to solve this problem.

It would be great if someone could offer any advice on this.

Here's My site

Here's the css stylesheet

like image 546
user2553109 Avatar asked Jul 08 '13 01:07

user2553109


People also ask

What do I do when my Samsung won't swipe?

Press and hold the Power/Bixby and Volume Down buttons until you see the Android logo. Release both buttons once the Android logo pops up.

Why is my Samsung phone screen not working?

Make sure the touchscreen is dry and clean, and remove gloves if you're wearing them. The screen may not recognize touches through gloves or extremely dry and chapped fingers. Press and hold the Volume Down and Power key for 7 to 10 seconds to perform a forced reboot or soft reset.

Why is my Samsung phone working but the screen is black?

However, if your phone is working but the screen goes black, you need to check the battery firstly, since your Android battery drains too fast perhaps. If its battery works well, you are encouraged to restart the Samsung phone by long-pressing a combination of buttons.


2 Answers

As i have found that samsung screen is 480*800px

Please try with below CSS:

@media only screen 
and (min-device-width : 480px) 
and (max-device-width : 800px) 
and (orientation : landscape) {

}

@media only screen 
and (min-device-width : 480px) 
and (max-device-width : 800px) 
and (orientation : portrait) {

}

Thanks

like image 194
Krunal Shah Avatar answered Sep 22 '22 05:09

Krunal Shah


try using this

<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport">
like image 41
Shoaib Ahmed Avatar answered Sep 22 '22 05:09

Shoaib Ahmed