In the comments section of Full Screen Soliloquy Slider with Transparent Floating Header in Centric Pro a user asked:
I’ve tried this with Dynamik and my menu is sitting below the slider and can’t seem to position it correctly. Any chance you could do a version of this for Dynamik?In this article I detail the steps for displaying a widget centered on top of a full screen Soliloquy slider on front page in Dynamik. We shall make the header transparent and when the user scrolls past the slider, set it to have a translucent background. Clicking on the down arrow icon will smoothly scroll to the content portion of the page. Screenshot: Screencast: On mobile devices we shall set the overlay widget to appear beneath the slider. Note: The solution is written such that slider taking up the full width (slider image's width set to 100% via CSS) and height (slider's list items get viewport height via jQuery and slider images set to 100% height via CSS) of viewport happens only on initial page load and for widths > 1200px. The moment you resize the browser window the slider is going to appear proportionately i.e., get resized like an inline image. At any given width you'd have to reload the browser window to see the slider take up full width and height again. This is by design and after a lot of testing - is probably the best way to prevent the issue of image getting squished horizontally or vertically when viewed at various widths.
Step 1Install and activate Soliloquy. Add a new slider named say,
Home Sliderand upload your desired homepage slider images. In my test site I've used images that are sized 1600 x 820. Set the slider to appear full width.
Step 2If you haven't already, create a custom menu that you'd like to be shown in the header right. Go to Appearance > Widgets, drag a Custom Menu widget into Header Right widget area and select your menu.
Step 3Click Save Changes button after each of the sub steps below. a) At Genesis > Dynamik Custom > Conditionals, add a new conditional for front page check like this: b) At Genesis > Dynamik Custom > Widget Areas, create two widget areas named
Home Slider Overlay. Set them to be used via Shortcode. c) At Genesis > Dynamik Custom > Hook Boxes, add three boxes like this: Select the condition added in sub-step a) above for all the three boxes. Note that the priority for After Header Closing Div hook box has been set higher than the default, 15 to be specific. Here's the code in Home Slider Hero hook box:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.