Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Disable responsive layout


  • 000000000
    Participant

    @pealo86

    I’m trying to use the following code:
    `// disable responsive

    add_action( ‘wp_print_styles’, ‘my_deregister_styles’, 100 );

    function my_deregister_styles() {
    wp_deregister_style( ‘bp-default-responsive’ );
    wp_deregister_style( ‘bp-default-responsive-rtl’ );
    }`

    To deregister the responsive stylesheets. I have added this code after the styles have been enqueued. However the responsive styles are still loading.

    Am I doing something wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Disable responsive layout’ is closed to new replies.
Skip to toolbar