Column width and row depth
- Posted on:
- Author: trogladyte
Support Home Page › Forums › Joomla Software › Easy Folder Listing Module › Column width and row depth
- This topic has 3 replies, 2 voices, and was last updated 14 years ago by
Michael Gilkes.
-
AuthorPosts
-
April 10, 2012 at 11:08 pm #286
trogladyte
ParticipantWhere are these parameters called from? If you look at
http://www.ckdev.info/gvperio/patient-resources
for some reason, all the columns are different sizes. The rows are too deep for my liking – I’d like to knock off about 1/3. I read on another post that the columns are based on a ration of the main column (think that is correct). That being the case, I’m not sure why I’m getting different widths.
It would be nice to have the icons and the text line up as well, which would, then, reduce the row heights to about what I want.
Thanks for a great extension… sooooooooo simple!
April 11, 2012 at 12:47 pm #1590
Michael GilkesKeymaster@trogladyte. Thanks for posting. I checked your like, and had a look at your DOM using “Inspect Element” in the context menu of my browser. If you do the same, you will see that the rows are deep only because of CSS styling in your template. Here is the exact CSS block that is causing it:
12345678.art-article img, img.art-article, .art-block img, .art-footer img<br />{<br />border-color: #B2C2D1;<br />border-style: solid;<br />border-width: 0;<br />margin: 7px 7px 7px 7px;<br />}<br />The exact issue is that the template is setting a 7 pixel margin around every img element so that creates the deep rows inadvertently. To fix this, you could change the margin to a more reasonable value. Add this CSS block to your template:
1234table.easyfolderlisting img<br />{<br />margin: 2px;<br />}April 11, 2012 at 7:37 pm #1591trogladyte
ParticipantThanks Michael. I added the CSS you mentioned, but I guess the template CSS overwrote it. I don’t use tables much, if at all, so I just went and adjusted one of the 7px to 0px and that made it look a lot better.
What about the column widths? How do I adjust them? At least get the sizes the same, even if I can’t reduce the sizes. You’ll see the file size column is different on all 3 instances.
It would also be nice to be able to specify a fixed width to the table. Or is that in Pro?
Cheers
April 11, 2012 at 8:40 pm #1592
Michael GilkesKeymaster@trogladyte. Good. I am glad that it looks better.
As for the column widths, the free Easy Folder Listing does not provide the functionality to set the widths of the columns. This functionality is available in the Pro version.
-
AuthorPosts
- The topic ‘Column width and row depth’ is closed to new replies.