![]() |
|
printLatestImages stuck being displayed as list? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: printLatestImages stuck being displayed as list? (/thread-2896.html) |
printLatestImages stuck being displayed as list? - tim254 - 2008-05-17 I'm using the following functions on my site: `Latest Images Random Images
However, in v1.1.5 printLatestImages showed the images in two rows and 10 columns. In version 1.1.6 it's showing them in 20 rows and 1 column. Any styling I try to apply to it doesn't changed that fact. Is there a way to get the images out of a list like that so they are display horizontally across the page? BTW: This is the way printRandomImages was in v1.1.5 as well. -- printLatestImages stuck being displayed as list? - acrylian - 2008-05-17 You can use CCS and EDIT: To explain why it's a list now. You can now choose to show the title, date and description if you wish. And to already have those parts together I choose to put them into `` elements. Semantically this is a list, so I found it fitting. printLatestImages stuck being displayed as list? - tim254 - 2008-05-17 Thanks! I found the docs on printLatestImage: and printRandomImages: I used this just to test it: However, I'm still getting them in a list. However, it doesn't seem to override whatever class is associated with it. Any pointers in the right direction would really be appreciated. printLatestImages stuck being displayed as list? - sbillard - 2008-05-17 Your code should read `` printLatestImages stuck being displayed as list? - acrylian - 2008-05-17 Actually `` would be enough. You have to make that class work yourself, it is not set up within the theme's css like this: .class-to use ul { .class-to-us ul li { Here is some info what you all can do with a list and css: http://css.maxdesign.com.au/listamatic/ PS: I did a quick research, printLatestImages stuck being displayed as list? - tim254 - 2008-05-18 Thanks to your help I was able to get it to work. Here's the solution: CSS: `.imglatestrandom { list-style: none; float: left; margin:0px 0; } .imglatestrandom ul { padding:0; margin:0; list-style:none; } .imglatestrandom ul li { list-style:none; float: left; padding: 0px 3px 0px; margin:0px 0; }` Index.php `Random Images Latest Images ` Thanks again! |