• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

AgentPress homepage slider

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › AgentPress homepage slider

This topic is: not resolved
  • This topic has 22 replies, 4 voices, and was last updated 6 years, 3 months ago by dbellmaine.
Viewing 20 posts - 1 through 20 (of 23 total)
1 2 →
  • Author
    Posts
  • March 17, 2015 at 12:21 pm #144752
    sinoun
    Member

    Hello,

    I've been racking my brain on this for hours, but can't seem to figure something out.

    I am using AgentPress Pro theme and I am trying to convert the static homepage image into a slider. I tried using this really helpful paid tutorial: https://sridharkatakam.com/full-width-soliloquy-slider-genesis/, but I can't get the slider to be full width.

    The site in question is: http://marshallberchandassociates.com/ - frontend password is 'sinoun'.

    As you can see, I am so close! I just need to figure out how to make the slider fill the background just like in the demo. I tried changing the 'wrap' CSS code, but that just changes the whole site.

    Does anyone have any suggestions on what I need to do to make the slider full width and be behind the menu, just like in the demo?

    Thank you in advance! Your help is deeply appreciated.

    Sinoun

    March 17, 2015 at 3:42 pm #144765
    Badlywired
    Member

    In the demo it isn't a slider, it is a single background image. Interesting it uses a script called backstretch that could
    be fairly easily reprogrammed into a slider with a bit of skill. http://srobbin.com/jquery-plugins/backstretch/

    change js/backstrech-set.js
    to contain, and the paths to your own images

    jQuery(document).ready(function($) {
    	$.backstretch([
          "http://dl.dropbox.com/u/515046/www/outside.jpg"
        , "http://dl.dropbox.com/u/515046/www/garfield-interior.jpg"
        , "http://dl.dropbox.com/u/515046/www/cheers.jpg"
        ], {duration: 3000, fade: 750});
    });

    Although I don't expect that is what you want, its is one approach.

    In case you don't know you add that single image via customizer/background image.

    The other approach need a bit more though about the structural wraps, that keep the site 'inside' the width, you will be able to do this by hooking into the write area, but it isn't something I can solve off the cuff without actually being 'in' the site. But basically, it is a case of better understanding genesis, wraps and hooks.


    My techy blog WordPress and stuff badlywired.com

    March 17, 2015 at 4:10 pm #144768
    sinoun
    Member

    Hey there,

    Thanks for the response. I'm aware the background is an image that can be changed in the customizer. Like I mentioned, I'm trying to convert that area into a slider using Soliloquy so the images can be easily changed when needed.

    I figured I could add some custom CSS to make it full width. I could be wrong, but would like to know. Does anyone else have insight?

    Sinoun

    March 17, 2015 at 4:15 pm #144769
    Badlywired
    Member

    As mentioned, its to do with the structured wraps.

    But indeed, a bit of css should sort it just making the home featured structured wrap 100%. I wasn't thinking that way (its late)

    .home-featured .wrap {width: 100%;}

    should do it.


    My techy blog WordPress and stuff badlywired.com

    March 17, 2015 at 4:20 pm #144770
    Badlywired
    Member

    p.s. you might want to change

    .site-header .wrap {
      background-color: #1a212b;
      color: #fff;
    }

    to

    .site-header  {
      background-color: #1a212b;
      color: #fff;
    }

    otherwise you'll have a strange 'wrapped' header with white gaps, followed by a full width slider


    My techy blog WordPress and stuff badlywired.com

    March 17, 2015 at 4:31 pm #144771
    sinoun
    Member

    Thanks again! 🙂 I tried .home-featured .wrap {width: 100%;}, but it seems to only make the header menu full width. I'd like to keep it the way it is without it being full width. I really like having the slider image going behind the header menu, like it looks in the demo. Any other suggestions?

    I appreciate your time!

    March 17, 2015 at 4:36 pm #144772
    Badlywired
    Member

    are you saying .home-featured .wrap {width: 100%;} didn't make the slider full width?


    My techy blog WordPress and stuff badlywired.com

    March 17, 2015 at 4:38 pm #144774
    sinoun
    Member

    Sorry for the confusion. That is correct. .home-featured .wrap {width: 100%;} didn't make the slider full width.

    And adding the following made the header menu full width, but that's not what I want:

    .site-header  {
      background-color: #1a212b;
      color: #fff;
    }
    March 17, 2015 at 4:39 pm #144775
    Badlywired
    Member

    If you want to put the slider up and behind the header, this can be done with css too.

    .site-container {position: relative;}
    .site-header {z-index: 9999;}
    .home-featured {position: absolute; top: 0;}

    will probably do it.

    Are you getting paid for this job?


    My techy blog WordPress and stuff badlywired.com

    March 17, 2015 at 4:42 pm #144776
    sinoun
    Member

    I added the code and I think we're close!! It seems the slider still isn't full width though. And now, it is on top of the header/menu. Any thoughts?

    March 17, 2015 at 4:42 pm #144777
    sinoun
    Member

    Also, the widget that should be under the slider is now on top of the slider...

    March 17, 2015 at 4:44 pm #144778
    Badlywired
    Member

    I'm taking a look, leave it like it is for the moment


    My techy blog WordPress and stuff badlywired.com

    March 17, 2015 at 4:45 pm #144779
    sinoun
    Member

    Will do! Thank you! 🙂

    March 17, 2015 at 4:52 pm #144780
    Badlywired
    Member
    .site-header {
           position:relative;
           z-index: 9999;}
    .home-featured {
          position: relative; 
          top: -80px;
           }
    .home-featured .wrap {
          width: 100%;
          max-width: 100%;
    }

    My techy blog WordPress and stuff badlywired.com

    March 17, 2015 at 4:56 pm #144782
    sinoun
    Member

    YOU ARE A LIFESAVER! THANK YOU! I've been trying to play around with the CSS myself using Firefox and Chrome and couldn't figure it out for the life of me.

    Thanks! 🙂

    March 17, 2015 at 4:58 pm #144783
    sinoun
    Member

    I really love StudioPress themes, but the biggest thing I think it lacks is the slider capability. Most themes have that built in -- it's a standard for themes nowadays. Would love to see StudioPress make that a standard for themes with large images.

    March 17, 2015 at 5:01 pm #144784
    Badlywired
    Member

    No problem, I do it all day.

    It does get a bit complex when playing around with positioning things and send stuff to the back etc.

    The CSS approach worked here, although personally I would have reconstructed the home page using Genesis hooks to get everything sequenced right in the first place. But that is definitely in the more advanced class.

    Check out my blog for other tips I write up as I find them.


    My techy blog WordPress and stuff badlywired.com

    March 17, 2015 at 5:02 pm #144785
    sinoun
    Member
    This reply has been marked as private.
    October 9, 2015 at 11:01 pm #167781
    Nate
    Member

    Hey everyone!

    I'm trying to do a very similar thing. Is this with the Home-Featured widget? I've gone through this string about three times, and cannot get it to work.

    I'm deveoping locally, but will move the site to live later today at ecckdev.finchproservices.com .

    Any help would be great!

    Nate


    Just getting started in this brave new Genesis world… Thanks in advance for all help:-).

    October 10, 2015 at 7:53 am #167789
    Nate
    Member

    Hey again! The site is up (it's ugly, but I'm not done:-)).

    I've tried re-arranging some of the hooks as well, but it looked bad. We'll try again tomorrow:-).

    Any help would be much appreciated.

    Thanks!


    Just getting started in this brave new Genesis world… Thanks in advance for all help:-).

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 23 total)
1 2 →
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble