-
Closed
-
Hi,
Just wanted to report a bug in the Revolution Slider layer feature.
Repro:
1. On an existing slide, create a new text layer and enter some text. At the bottom, give the layer an id (“test”).
2. On a new WordPress page, insert the RevSlider slide.
3. On the same page, create a new style with
<style type=”text/css”>
#id {
font-size:18px;
line-height:18px;
}
</style>
4. When the slider is loaded, check that the font-size and line height becomes 12px, as RevSlider gives it an inline style (this.style) that is roughly 2/3 of whatever original size the font was.Adding !important behind the css style declaration works, *but* we lose responsive resizing (i.e. font remains 12px even if the slide gets resized smaller).
So my workaround is that if I want the size to be 18px, I’d have to specify 27px so that RevSlider js will resize it to 18px.
The topic Revolution Slider layer font bug is closed to new replies