Tagged: responsive, settings
-
AuthorPosts
-
July 6, 2016 at 4:45 pm #657592
Hi,
We have a setting for Responsive Site
How can I turn off Responsiv Site, but turn on responsive for some pages? Does it possible?July 6, 2016 at 5:24 pm #657633Hey Kvanto,
no, that won’t be easily possible. Why would you want to do this?
Best regards,
AndyJuly 6, 2016 at 5:44 pm #657646Because on home page we have not responsive iframe implementation http://montenegro.rentacarfor.me/
but on other pages we need a responsive for static content.July 6, 2016 at 6:12 pm #657656May be possible to fix minimal width of content for main page?
July 7, 2016 at 12:26 pm #657942Hi,
I’m not sure if that would be possible but please try to explain a bit further what you are looking to achieve and we’ll have a look at it.
Regards,
RikardJuly 7, 2016 at 12:52 pm #657972If I turn on setting “Responsive Site”, on mobile devices main page look like this – http://take.ms/PKzGM Because iframe (affiliate rental car booking widget) is not responsive. And this iframe is cropped on mobile screens without horizontal scrolling possibility.
Therefore I was forced turn-off this setting to iframe not crop.But I still need mobile version site on other pages without iframe implementation.
July 10, 2016 at 9:04 am #658908Hi,
I’m not sure if this is going to work but it’s worth a try. Please add this code in the functions.php file:
// custom script add_action( 'wp_footer', 'ava_custom_script' ); function ava_custom_script() { ?> <script type="text/javascript"> (function($) { function a() { var home = $('body').hasClass('home'); if(home) { $('html').removeClass('responsive'); $('html').addClass('fixed_layout'); } } a(); })(jQuery); </script> <?php }
Best regards,
IsmaelJuly 12, 2016 at 5:31 pm #659993Cool, it work – http://montenegro.rentacarfor.me/
But now main page has no Main Menu in mobile view.- This reply was modified 8 years, 4 months ago by Kvanto.
July 12, 2016 at 9:07 pm #660084Hey!
That is the problem, when doing such things, the issues come when try to do modifications
I am afraid, based on our support policy, we do not cover so many modifications.Please consider hire a freelancer who can help you with those modifications
Regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.