• Resolved atomonfire

    (@atomonfire)


    Hey guys,

    I have the page header addon and I am using revolutionslider as a content. Tom built in a function to make the header “fluid” meaning it spans the full width of the page but only set this up under the picture option. Is there a way to make the header full width despite that? I’m trying to get the slider to be 100% of the page.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author Tom

    (@edge22)

    Hi there,

    I need to tweak the addon so the image isn’t necessary for full width – it’s on my to-do list.

    However, I believe Revolution Slider allows you to set the slider as “full width”, and it will force the slider to span the entire width of your browser.

    Let me know ??

    Thread Starter atomonfire

    (@atomonfire)

    Thanks, Revolution will override width to 100% but it also does 100% height of the container and doesn’t allow you to change that. The container apparently needs to have a defined max-height. What would be the best way to set a max-height of the page header container?

    Thread Starter atomonfire

    (@atomonfire)

    I tried

    .generate-page-header {
          max-height: 350px;
        }

    Put that in the custom CSS for Revolution, attached the class in the offset container and set the min-heights to 350. For a moment that seemed to work, but when I went back to the page later the slider seemed to break out of the container again. Back to the drawing board.

    Edit: Added a defined height to the offset size and it seems to be working now. Will check back later on different browsers and resolutions.

    Theme Author Tom

    (@edge22)

    Actually there shouldn’t be any need for CSS.

    In your slider settings, choose “Auto Responsive”.

    Then under that, turn “Force Full Width” to on.

    That should do it ??

    Thread Starter atomonfire

    (@atomonfire)

    Yes, I did that and the height exploded. I wanted the slider to have a max height of 350px, but in full width mode Revolution only allows you to set a “min-height”. It sets the height as 100% of the container in that mode. Since I’m using high resolution images, the height can’t be set by the images themselves. The Layers Grid Size area had no impact on the height at that point.

    So they have the “Offset Containers” with caption “The height of fullscreen slider will be decreased with the height of these Containers to fit perfect in the screen”. So in addition to the “Offset Size” field which I set to 350, I used the .generate-page-header class which I then gave a max height of 350 and this appeared to do what I wanted it to do. The slider remains perfect and responsive as I shrink the window, though I haven’t tested on anything other then Chrome yet.

    Theme Author Tom

    (@edge22)

    Ahh I gotcha!

    I’m glad you found a solution! ??

    Let me know if you have any other questions.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Page header full width for content?’ is closed to new replies.