Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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?

    #657633

    Hey Kvanto,

    no, that won’t be easily possible. Why would you want to do this?

    Best regards,
    Andy

    #657646

    Because on home page we have not responsive iframe implementation http://montenegro.rentacarfor.me/
    but on other pages we need a responsive for static content.

    #657656

    May be possible to fix minimal width of content for main page?

    #657942

    Hi,

    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,
    Rikard

    #657972

    If 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.

    #658908

    Hi,

    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,
    Ismael

    #659993

    Cool, 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.
    #660084

    Hey!

    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

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.