This is a migrated thread and some comments may be shown as answers.

Adding a caption to Scrollview

1 Answer 29 Views
ScrollView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Oğuzhan
Top achievements
Rank 1
Oğuzhan asked on 08 Sep 2015, 12:32 AM
Does anyone know how to add a caption to Kendo Mobile Scrollview? Is it even possible? Should I use 3rd party plug-in? Even the smallest tip would help. Thanks

1 Answer, 1 is accepted

Sort by
0
Oğuzhan
Top achievements
Rank 1
answered on 08 Sep 2015, 01:08 PM

I couldn't believe my eyes but it seem there is no caption feature in Kendo Ui Mobile Scrollview. However I managed to with some css. I hope it helps someone.

Just put an p tag inside of an image

<p class=caption>Some Caption</p>

And then just simply add a css like :

caption {
  font-weight: bold;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(80, 80, 80, 0.75);
  padding: 1em;
  width: 100%;
  color:#FFFFFF !important;

Tags
ScrollView (Mobile)
Asked by
Oğuzhan
Top achievements
Rank 1
Answers by
Oğuzhan
Top achievements
Rank 1
Share this question
or