![]() |
|
zpbase horizontal 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: zpbase horizontal list (/thread-11856.html) |
zpbase horizontal list - Ralf - 2014-07-03 Hi just upgraded to 1.46 and now I have a problem with formatting a horizontal list. http://www.ralf-kerkhoff.de/pages/neue-bilder This is how it works before the update: Codeblock 1 on the page is: <?php printLatestImages(20,'',false,false,false,40,'',120,120,true,false,false); ?> CSS (added this to style and choosen.css): #latest { list-style: none; float: left; margin:0px 0; } #latest ul { padding:0; margin:0; list-style:none; } #latest ul li { list-style:none; float: left; padding: 0px 4px 0px; margin:0px 0; } this has worked before the update but now I get the images in a vertical list. Any ideas are welcome Cheers Ralf zpbase horizontal list - acrylian - 2014-07-03 Nothing changed actually on the related plugin. There are always two ways to get a horizontal list. Setting to `display: inline` or setting the li `display:block; float: left`; The li might need a width then. zpbase horizontal list - Ralf - 2014-07-03 Hi Acrylian, tried both inline and block. Im still with a vertical list. I think gjr has changed something in the style.css. Ralf zpbase horizontal list - acrylian - 2014-07-03 Might be. Until he responds you could try setting the `!important` keyword. zpbase horizontal list - gjr - 2014-07-03 I don't see your issue with the link provided, you must have figured it out? zpbase horizontal list - Ralf - 2014-07-04 Hi Gjr, I have solved the issue using exactly the settings above. I have edited the pages.php: In the original file around line 30 the printCodeblock statement is before the printPagecontent. I have just put the printCodeblock()after the printPageContent. Cheers Ralf |