Adding a caption to Scrollview

2 posts, 0 answers
  1. Oğuzhan
    Oğuzhan avatar
    5 posts
    Member since:
    Aug 2015

    Posted 07 Sep 2015 Link to this post

    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
  2. Oğuzhan
    Oğuzhan avatar
    5 posts
    Member since:
    Aug 2015

    Posted 08 Sep 2015 Link to this post

    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;

  3. Kendo UI is VS 2017 Ready
Back to Top