Tagged: mobile responsive
-
AuthorPosts
-
July 7, 2017 at 5:44 pm #817944
Hey team,
I have a large table on one of my pages and I would like for that page only to not be mobile responsive. Is this possible and if so how would I go about doing it?
This is the css code I used but is not working.
.post-id-1035 #top #wrapall {
min-width: 1200px !important;
}July 7, 2017 at 6:00 pm #817947Hey msbllc,
Please try this instead:
.page-id-1035#top { min-width: 1200px !important; }
Best regards,
SarahJuly 7, 2017 at 6:11 pm #817954Sarah,
That worked! Thank you. I had to adjust the width size but it semi-works now.
The one issue now is that it doesn’t automatically resize to a full width page. It is still shrunk like it would be on mobile. If you’re able to, check out that link on your mobile device and you’ll see what I mean.
July 10, 2017 at 3:17 pm #818794Hi,
Please install and activate a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/ and then copy enfold/header.php file to your child them and open the file and find
if( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';
and change it to
if( strpos($responsive, 'responsive') !== false && is_page(1035) ) echo '<meta name="viewport" content="width=device-width, initial-scale=1">';
Best regards,
Yigit- This reply was modified 7 years, 5 months ago by Yigit.
July 10, 2017 at 4:05 pm #818828Hey guys, thanks for the recommendation. I installed the child theme, copied the header.php and changed out that line. See screen shot. However, that page is still the mobile “shrunk” version and doesn’t expand. I have an iPhone 7 and cleared my cache and cookies as well as tried it in an incognito window and still no luck. Would you check and seeing if it works on your device please?
Here’s the screen shot
July 11, 2017 at 10:41 pm #819668Hi,
Before we move forward, please do the same action with the header file today, as the new version of Enfold is out, and you need to have the latest header, so we are sure nothing will brake.
We are thankful for the understanding
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.