• Hello! Thank you in advance for your help!

    I have a child theme of Sydney. In Desktop view, the slider shows perfectly. But it doesnt even show up in Mobile or Tablet view. When I then navigate to the pages (on mobile or tablet), I then see everything as normal. Here are the screenshots:

    https://ibb.co/io0F85 – DESKTOP VIEW
    https://ibb.co/inExMQ – MOBILE VIEW

    Please help me fix this – thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello there,

    Did you apply custom CSS code? If so, please share it here.

    What will happen if you add this CSS code:

    
    .sydney-hero-area {
      height: auto !important;
    }
    

    Regards,
    Kharis

    Thread Starter The Breis Agency

    (@breis)

    Hello thanks for responding. I dont have any custom CSS code. I’ve also deactivated all non-essential plugins and the problem still persists. Finally, I applied your suggested code but the issue wasnt solved.

    Here are my plugins:
    Akismet Anti-Spam
    Erident Custom Login and Dashboard (disabled)
    Instagram Feed WD
    Kadence Toolkit
    Loginizer
    Maintenance
    My Calendar (disabled)
    Page Builder by SiteOrigin (disabled)
    Sydney Toolbox
    UpdraftPlus – Backup/Restore
    WP E-Signature
    WP E-Signature Business add-ons

    Please try this code and let me know how it works.

    
    #slideshow,
    .sydney-hero-area {
      height: auto !important;
    }
    
    

    Regards,
    Kharis

    Thread Starter The Breis Agency

    (@breis)

    Sorry that didnt work and it broke the Desktop View also ??

    I am sorry.

    What will happen if you temporarily deactivate all plugins at once. Then reload your site.

    Regards,
    Kharis

    Thread Starter The Breis Agency

    (@breis)

    Hello Kharis! I deactivated all plugins but that didnt work either ??

    When I revert back to the parent theme, everything works fine (both on Desktop and Mobile). So I suspect the issue has to do with my Child Theme? Does that help you come up with possible solutions?

    For reference, here is what I have in my child functions.php:

    <?php
    add_action( ‘wp_enqueue_scripts’, ‘child_enqueue_styles’,99);
    function child_enqueue_styles() {
    $parent_style = ‘parent-style’;
    wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘child-style’, get_stylesheet_directory_uri() . ‘/style.css’, array( $parent_style ) );
    }
    if ( get_stylesheet() !== get_template() ) {
    add_filter( ‘pre_update_option_theme_mods_’ . get_stylesheet(), function ( $value, $old_value ) {
    update_option( ‘theme_mods_’ . get_template(), $value );
    return $old_value; // prevent update to child theme mods
    }, 10, 2 );
    add_filter( ‘pre_option_theme_mods_’ . get_stylesheet(), function ( $default ) {
    return get_option( ‘theme_mods_’ . get_template(), $default );
    } );
    }

    • This reply was modified 7 years, 7 months ago by The Breis Agency. Reason: to add code from child functions.php

    Did you create the child theme by yourself? Please download and check our premade child theme on here. Try to use it to customize your site.

    Regards,
    Kharis

    Thread Starter The Breis Agency

    (@breis)

    alright will do and get back to you ??

    Thread Starter The Breis Agency

    (@breis)

    Kharis that was a superb suggestion – EVERYTHING is working now! ?? Thank you SO MUCH!

    Awesome! Glad to hear the problems resolved. You’re welcome!

    Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

    Regards,
    Kharis

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘SLIDER NOT SHOWING in Mobile View (screenshots included)’ is closed to new replies.