- This topic has 4 replies, 3 voices, and was last updated 7 years ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The topic ‘Adust Width of Caption in Home Page Slider’ is closed to new replies.
Home › Forums › Exoplanet Pro › Adust Width of Caption in Home Page Slider
I would like to be able to adjust the width of the captions in the home page slider.
Is this possible?
Hi, yes it is possible.
In Appearance > Customize > Additional CSS add this CSS, change the 650px to a suitable width:
.slide-caption {
width: 650px;
}
Yes, I already tried that, but then it comes out not centered. OK, perhaps I will just switch to left-aligned.
Thank you.
Hi John
There is an extra line missing from the above, sorry about that.
It should be:
.slide-caption {
width: 650px;
margin-left: -325px;
}
where the margin-left value is negative half of the width value e.g.
.slide-caption {
width: 800px;
margin-left: -400px;
}
Perfect. Thank you.