• 0
Sign in to follow this  
Followers 0

Text in Rev Slider


Question

Posted · Report post

I'm trying to align the text in the Rev Slider to the right side of the page, and lower it (here: http://nationalmallunderground.org). I've started by doing this: 

.revslider-container .slider-content.right-side {
  text-align: right; }

But it pushed the whole thing over the edge on the right. Is there a way to align the right side of the text box to the right side of the frame?

 

Same for the .revslider-container .slider-content a.slider-btn.

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

You have a 400px container.

This helps adjust the button:

.revslider-container .slider-content.right-side {
    max-width: 550px;
    text-align: right;
}

The settings for the slider seem to have some funky width and positioning built into the settings for the slides.  Did you write any custom code for it?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Just gotten back to this, sorry. No, I don't think I had written any code specially, I'd just picked it out of the inspector and changed things to alight right. You can see, it's a little better now. Deffo your code improved it. But I was hoping to align all text to the far right of the slider, so it butts up against the frame. Any chance?

 

Thanks!

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi there,

 

There are some sliders which display the text on two lines, others where the text is too long to display and goes off screen etc. All the text is aligned right on the slides, but you'll need to break up the text on the slides where they go off the page by adding <br> where the space to appear. This will replicate the affect on the other slides.

 

Screenshot - http://screencast.com/t/KmOg5MyjgpC

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
Sign in to follow this  
Followers 0