Support » Plugin: Smart Slider 3 » Twentyseventeen white space

  • Resolved Edwin

    (@mmhgloba)


    Hello, I just installed smart slider 3 on my twentyseventeen WordPress theme. It looks great but there is a white space showing between the navigation menu and the header image. On desktop, home page looks fine but with other pages the gap shows. In mobile the gap shows on all pages. Also, same with tablet. Can you assist? Thank you very much. -Edwin

    The page I need help with: [log in to see the link]

Viewing 4 replies - 16 through 19 (of 19 total)
  • Edwin

    (@mmhgloba)

    I uploaded it here https://imgur.com/a/3GGwDqa

    Plugin Author Nextendweb

    (@nextendweb)

    In your code the ‘ and ” are messed up in line 17 and 19. That’s why there is a red X.
    You need to replace in your code:

    • ‘ => '
    • ” => "

    This code should be fine if you copy it:

    <?php
      if( is_home() || is_front_page() ) {
        echo do_shortcode('[smartslider3 slider="2"]');
      } else {
        echo do_shortcode('[smartslider3 slider="3"]');
      }
    ?>
    Edwin

    (@mmhgloba)

    That fixed it, thank you.

    Plugin Author Nextendweb

    (@nextendweb)

    @mmhgloba, that’s great. I’m happy that it works as expected! 🙂

Viewing 4 replies - 16 through 19 (of 19 total)
  • You must be logged in to reply to this topic.