• 0

Rev Slider Height


Question

Posted · Report post

Hey, I'm having some trouble with the height of the Rev Slider on the home page here: http://nationalmallunderground.org. I've tried adjusting the aspect ratio of the images, but it always crops them. And I'm having trouble getting the code to let me increase the height of the slider. Can you suggest something please?

 

Thanks!

Share this post


Link to post
Share on other sites

8 answers to this question

  • 0

Posted · Report post

Hi,

 

Try adding the following too:

.revslider-full {
max-height: 600px !important;
}

I have also reported this on our issue tracker too.

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

The height is based on your width, the inline documentation for the Rev Slider suggests the following:

For high resolution, 2000px wide x 800px tall images.

 

What size images are you using ?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks for getting back. I've tried different aspect ratios, including 1280x720, 1280x960 and 2000x800. The images at 2000px are large anyway, and it's difficult to reduce them enough to upload without compromising resolution.

 

The point is, I don't want the height to be 800px, but much larger (the 2000x800 is much too narrow, it looks ridiculous as a full page slider). So, is there a way to tell the slider that a max height is larger than 800, so that when I put in a 1200x960 image, it doesn't crop it into a narrow rectangle, but allow it to fill the screen? My editor is having trouble identifying information about the slider, so I can't really modify the code myself - it's causing a lot of trouble!

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hello...?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Firstly do not bump posts when you haven't received a reply within 4 hours. I have only just started my shift and you're in a que.

 

The Revslider can not be used in the way you want it to, meaning you can't change the height of it, without using custom CSS. Therefore, I recommend you either use custom CSS to override the max-height of 480px or find an alternative Slider, you can install the Legacy Plugin and use the old Feature Slider from PageLines Framework, this gives you a lot more control.

 

https://www.dropbox.com/s/td816ccbrbg0xjk/pagelines-legacy-sections.zip

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Little bit rough, actually. I didn't realise I was pushing up a queue, don't usually use forums like this. 

 

I want to change the CSS, but it doesn't seem to respond. I've put this in: 

.revslider-container {
  width: 100% !important;
  position: relative;
  padding: 0;
  max-height: 600px !important;
  overflow: hidden;
}

This should increase the max height from 480px to 600px, but it's not actually having an impact. The height is staying at 480px. Is there something I'm missing?

 

I'm also having trouble with the custom CSS in changing a button colour - I could tell it to change a button colour a few days ago, and now it doesn't show up. Any idea why that might be?

 

Thanks.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Ah, amazing. Thank you for your help with this!

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

No problem.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now