hello,
Is it possible to have a center-top and center-bottom alignment on the fullscreen slider’s captions? via custom css?
Hi Itai!
Thank you for visiting the support forum.
Set the caption position to center framed then add this on Quick CSS or custom.css:
div.caption_fullwidth.caption_center.caption_center_framed.caption_framed {
top: -30%;
}
Adjust the top position.
Cheers!
Ismael
Thanks Ismael,
That’s clever :) but how do I do this on individual slides (i.e. one slide may be center top the other center bottom).
I noticed I can add <b> tags in the captions. Can I add css via a div tag in the caption box without screwing things up?
Cheers,
Hey!
Thank you for the update.
You can use css child pseudo selectors. This is for the first slide:
.avia-fullscreen-slider div ul li:first-child .caption_center {
top: -60%;
}
Second:
.avia-fullscreen-slider div ul li:nth-child(2) .caption_center {
top: 60%;
}
Third:
.avia-fullscreen-slider div ul li:nth-child(3) .caption_center {
top: -90%;
}
And this is for the last slide:
.avia-fullscreen-slider div ul li:last-child .caption_center {
top: 90%;
}
Make sure that all captions are center aligned.
Regards,
Ismael
Ok Got it!
Thanks