A quick workaround for list element issue of Roller5.1.0-SNAPSHOT mobile
TweetPosted on Saturday May 17, 2014 at 03:36PM in Technology
I wrote a entry which uses list elements (ul, ol, li), and I got into some problem. so I leave this entry as a note of my solution.
I wrote some HTML as a content of a entry like this:
<ol> <li>element 1 <li>element 2 <ul> <li>nested element 1 <li>nested element 2 </ul> </ol>
Then it showed in PC browsers as I expected like this:
But, it showed in mobile version like this:
all of list elements are disappeared. instead of list elements, the bottom of the entry became clickable. when I click the bottom, page transits to:
I don't want this behavior, just want html lists to stay inline on the page. fortunately, I found a quick workaround of it that just copy template named "_day" of Standard to Mobile.
- Go to blog settings
- Click design tab
- Click template
- Click "_day"
- Copy whole of template from "Standard"
- Click "Mobile" tab
- Paste the template
- Save
That's all. now mobile version looks like this:
Tags: roller