Jump to content

Archived

This topic is now archived and is closed to further replies.

Kempston

Styling The Rev Slider

Recommended Posts

Kempston

Good day.

 

I'm trying to figure out how to create the background behind the text on the Rev Slider as seen here:

FEhkB.jpg

 

I found this here: http://docs.pagelines.com/tutorials/using-sections. Is there somewhere else I should be looking for more detail on using sections?

 

Many thanks

 

Rob

Share this post


Link to post
Share on other sites
Kempston
I think I've figured it out. Put the following CSS in the Custom Design section:
 
.revslider-container h2.slider-text small {
background-color: rgba(57, 57, 57, 0.8);
}

Share this post


Link to post
Share on other sites
Danny

Unfortunately, the RevSlider markup changed and therefore, it is not possible to to achieve this kind of styling out of the box.

However, what you can do is wrap your slider text in spans and style them. For exameple:

 

<span style="background-color: red;">Truck Hire</span>

<span style="background-color: red">The right truck for the job</span>

If when you do this there is still no gap present, you will want to include a small margin-bottom to the first span. Like so:

 

<span style="background-color: red; margin-bottom: 10px;">Truck Hire</span>

<span style="background-color: red">The right truck for the job</span>


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
chuckrose1

How are you inserting the HTML?

 

I get adding custom CSS, but not how to alter the HTML structure. Is there another article to read?


Chuck Rose

VP, Design & Development

Ballantine Communications, Inc.

Share this post


Link to post
Share on other sites
Danny

I add the HTML in the text field options.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Barnaby Skinner
      By Barnaby Skinner+
      Hey all, hope I worded the topic correctly!
      I just need to know if either 1) I'm making a mistake or 2) this could be set as a new feature?
      Using the global settings typography parameters, I have a global paragraph font type (set using googlefonts) and have set the style to align:justify. When laying out <p> text inside a simple TEXT module, the <p> text adheres to both the font type and justification. Perfect.
      Now, when I set <p> text inside the PARAGRAPH TEXT field within an ELEMENT module, the <p> text adheres to the font type, but not the justification. It's rather annoying as I like to fully justify para text across the board and tend to use Element modules instead of text boxes for various reasons. It also seems silly that some PARAGRAPH TEXT fields adopt global settings, whilst other don't.
      Or I'm doing it wrong :S
      Any help or advice is much appreciated!
      Cheers
    • Claudio
      By Claudio+
      I have a problem with the typography settings. I set the H1 class with "font-weight: 300;" (Very thin weight), and "font-size: 50px;" (To have considerable evidence of my problem). Unfortunately, as you can see on the screenshots, those setting don't have any incidence on the site, Infact in the home page editor there is a trial title called "Text test", bold, and 26 px approximatly sized.
      Why the typography settings are not transposed on the site? Where I wrong?


    • Perry
      By Perry+
      Hello there,
      We are still using DMS 2 and were wondering if it was at all compatible with slider revolution. (https://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380). Our issue is that the default revslider for DMS clips the top and sides of videos when made responsive. As the video is made smaller or larger the bottom of it tends to be cut off, or the sides are. We noticed slider revolution was 100% responsive, but have had numerous issues even getting it to display in DMS 2. We have tried using the shortcode, and various php scripts to no avail. Our last attempt was to try and load it with header scripts, but at this point we seem to be further away than ever. 
      This leads me to a few questions:
      1. Is Slider Revolution even compatible with DMS2?
      2. Is there a way we can get 100% responsive video in DMS 2 with zero clipping? (tonyrobbins.com is another good example of the effect we are trying to achieve.)
      3. If Slider Revolution is compatible, how do we go about adding it in?
       
      Thank you for any help.
       
    • vanessabt
      By vanessabt+
      Hi Developers, I wasn’t sure what the best way to get feedback was but didn’t really want to put this in the facebook group, I did put this in the slack developers group but trying to figure out the fastest way to get feedback.  I am starting a new site for a client and was looking through the showcase to see if there were any samples for slider modifications like I am trying to do for our build and couldn’t find them.  Basically I want to have a blue section at the bottom of each slide that has text in it.  The text will change with each slide along with the image.  Was wondering if anyone had any thoughts on how this modification could be made?  Here is a sample of the slider from the design.

    • paoloimperiale
      By paoloimperiale+
      Hi, 
      I was wondering if there's a way to modify the slider container size? My client would like it skinner- not as tall. How would you suggest doing that?
      Thank you.
      (this is for the paoloimperiale.com slider on the homepage) 
×