Okay
  Public Ticket #152633
header responsivness
Closed

Comments

  • Yahya started the conversation

    hey I needed to remove the responsive option in my theme from the code, in the previous versions I just changed the wp_enqueue_style() in the function.php to return non-responsive always and it worked great, but now when I did this the page content became non-responsive but the header still is so you can't horizontally span the page, you can check in my site.
    Is there a way to to do this again??

  •  1,077
    ThemeNectar replied

    Hey Yahya, have you tried to just turn the "Enable Responsive Design" off in your Salient options panel > General Settings tab?

  • Yahya replied

    I know I can do that, but I need to turn it off from the code

  •  1,077
    ThemeNectar replied

    You'll just need to also change the header.php file a little - open that up and find the body tag and change this attribute on it

    data-responsive="<?php echo (!empty($options['responsive']) && $options['responsive'] == 1) ? '1'  : '0' ?>"

    to this:

    data-responsive="0"

    Cheers :)

  • Yahya replied

    thanks a lot that worked