Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8619947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:27:47+00:00 2026-06-12T06:27:47+00:00

I am using jquerymobile to create list with thumbnails. It looks like this: <ul>

  • 0

I am using jquerymobile to create list with thumbnails. It looks like this:

<ul>
   <li>
      <h3>Heading</h3>
      <p>Long thumbnail which I want to be divided into 2 lines and not just simply cut with ... ending</p>
   </li>
</ul>

If I look at it inside browser it all works great but when I load it into mobile (which has of course smaller screen) my thumbnail gets cut. So it is not looking like this Long thumbnail which … . But I want to show whole thumbnail and divide it into two or more lines. Is there a way to do this?

I also have this code inside

  • :

    <p class="ui-li-aside"> Date or some text</p>
    

    it is showing date on the right side of

  • . Again, at web browser it looks great but at mobile it just simply cuts my so it look like Headi…. So is there a way to put ui-li-aside on the bottom of li so it will be organized as this

    HEADING 3
    Thumbnail first line (probably divided into two lines)
    Thumbnail Second line (if first line is not enough)
                                                           ul-li-aside(actual date)
    

    Right now it looks like this (on my mobile):

    HEADI....       ul-li-aside(actual date)
    Thumbnail firs....
    
    • 1 1 Answer
    • 0 Views
    • 0 Followers
    • 0
    Share
    • Facebook
    • Report

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    1 Answer

    • Voted
    • Oldest
    • Recent
    • Random
    1. Editorial Team
      Editorial Team
      2026-06-12T06:27:48+00:00Added an answer on June 12, 2026 at 6:27 am

      You may try to include style="white-space: normal;" in the tags where you want to display the entire text.

      So you would have:

      <ul>
          <li>
              <h3 style="white-space: normal;">Heading</h3>
              <p style="white-space: normal;">Long thumbnail which I want to be divided into 2 lines and not just simply cut with ... ending</p>
          </li>
      </ul>
      

      PS: To include white-space: normal, use the style attribute in tags, and not the class, because it may not work since the class is often overriden by jQuery Mobile.

      Hope this helps. Let me know if this works for you.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
        • Report

    Sidebar

    Related Questions

    I am using jquerymobile popup like this <div id=dialogs data-role=popup>......</div > calling this from
    I am using jquerymobile ,this code shows list with the colors of data-theme (black),
    I want to create a horizontal swiping effect using jQuery Mobile. After doing a
    I am using jquerymobile, and trying to show a list, the default place for
    I'm diving into writing a mobile app with jQuery Mobile/PhoneGap. I'm using this sample
    I'm using jQuery Mobile to create a mobile (obviously) website. I have a list
    I'm using jQuery Mobile to create a site which will display an embedded YouTube
    I have a swatch which I created using the jQuery Mobile themeroller ( http://jquerymobile.com/themeroller/?ver=1.1.1&style_id=20120909-36
    I am trying to create and android app using jquerymobile and cordova 2.0.0. I
    i am trying to create href using javascript which should have data-role=button. But the

    Explore

    • Home
    • Add group
    • Groups page
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help
    • SEARCH

    Footer

    © 2021 The Archive Base. All Rights Reserved
    With Love by The Archive Base

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.