• Resolved honeyrandhawa

    (@honeyrandhawa)


    How to disable dynamic sidebar widget area and aligned widget for mobile user experience?

    Thanks for your support in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi honeyrandhawa. The mobile view sidebar configurations are in responsive.css. You could copy that file to a child theme and make your adjustments there. If you do copy it to a child theme you’d also need to copy function alx_styles to your child theme functions.php file:

    function alx_styles() {
      wp_enqueue_style( 'style', get_stylesheet_uri() );
      if ( ot_get_option('responsive') != 'off' ) { wp_enqueue_style( 'responsive', get_template_directory_uri().'/responsive.css' ); }
      if ( ot_get_option('custom') == 'on' ) { wp_enqueue_style( 'custom', get_template_directory_uri().'/custom.css' ); }
      wp_enqueue_style( 'font-awesome', get_template_directory_uri().'/fonts/font-awesome.min.css' );
    }

    Then change the line that loads the responsive.css file from “get_template_directory_uri()” to “get_stylesheet_directory_uri()” so it loads the file from your child theme.

    Thread Starter honeyrandhawa

    (@honeyrandhawa)

    Thank you so much for your beautiful self explanatory replies like always. Have a good day

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to disable dynamic sidebar widget area for mobile user experience?’ is closed to new replies.