Welcome, Guest
Username Password: Remember me

Automatically shortened ordered lists
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Automatically shortened ordered lists

Automatically shortened ordered lists 14 years ago #606

  • sigge
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
I noticed the excellent function that ordered lists that are too broad get automatically shortened:



But this is only in some cases, above it is in a site map. On another place, I use Joomla's mod_feed module to show the latest headlines from an imported RSS feed. In this case, they aren't shorted, and the layout breaks (see image below). Can I make these have the same functionality in some way?

Automatically shortened ordered lists 14 years ago #2572

  • miohtama
  • OFFLINE
  • Expert Boarder
  • Posts: 112
  • Karma: 4
Try enforcing CSS directives max-width and word-break over problematic module CSS classes. Webkit browsers respect those.

Re: Automatically shortened ordered lists 13 years, 1 month ago #5740

I tried to use the container class in the content wrapper with adding:

.container > div { word-wrap: break-word; max-width:200px;}

to my stylesheet in the iPhone template, but no effect.

What actually did the trick was:
a { word-wrap: break-word; max-width:200px;}
in my stylesheet. Isn't that a bit rude and will I break other stuff?
  • Page:
  • 1
Time to create page: 0.07 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.