[Support request] full width slider

Home Forums Support full width slider

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #358767
    Jo

    I wondered if there is a way to make a slider on the home page outside of the Container? My client really wants to have the slider bleed to the edges of the browser window. I have looked around in the theme and I don’t see anyway of doing that. I have a couple of slider plugins already already on the site and I just used Meta Slider as a quick sample to show her the design. I also have access to Slider Revolution which might work since she wants to have text overprint the photos. I don’t want to go through the trouble of setting up Slider Revolution if we can’t get it outside the container.

    GP Premium 1.3.1
    #358770
    Leo
    Staff
    Customer Support

    Hi there,

    Try using the After Header Hook:
    http://demo.generatepress.com/hook-locations/
    https://docs.generatepress.com/article/hooks-overview/

    With conditional tag assuming you are using a static home page:

    <?php if ( is_front_page() ) : ?>
        slider shortcode here
    <?php endif; ?>
    #358787
    Jo

    Thanks for getting back. I was wondering if the After Header Hook would interfere with the navigation bar that is after the header. Would it work to use the “Before Content” hook or will the After Header hook still work?

    http://jfsample.com/waggin/

    Thanks!

    #358801
    Leo
    Staff
    Customer Support

    You should be fine with After Header. Give it a shot and let me know if you run into problems.

    #358805
    Jo

    Thanks, I will let you know if I have any problems.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.