Member
Member
Ralf   2014-07-03, 08:38
#1
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
Administrator
Administrator
acrylian   2014-07-03, 09:05
#2
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.
Member
Member
Ralf   2014-07-03, 11:42
#3
Hi Acrylian,

tried both inline and block.

Im still with a vertical list.
I think gjr has changed something in the style.css.

Ralf
Administrator
Administrator
acrylian   2014-07-03, 11:45
#4
Might be. Until he responds you could try setting the `!important` keyword.
Member
Member
gjr   2014-07-03, 17:52
#5
I don't see your issue with the link provided, you must have figured it out?
Member
Member
Ralf   2014-07-04, 07:35
#6
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
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.