Adding Titles To Thumbnails
mlmorg
Joined: 2006-10-12
Posts: 9 |
Posted: Thu, 2006-10-12 18:13 |
Hi, http://gallery.menalto.com/node/37365 and added this to album.tpl: <p class="giTitle">{$child.title|markup}</p> This worked great except sometimes the pictures are moved down a row for some odd reason. For example...page 1 of Necklaces is fine: http://www.katherinewagnerdesigns.com/gallery/v/Necklaces/Necklaces/ Page 2, however, there is some sort of problem: http://www.katherinewagnerdesigns.com/gallery/v/Necklaces/Necklaces/?g2_page=2 It seems like what is happening is this: In the last column of either of the middle rows, if the image title row above it is the largest (that is, if it has the most writing in that row) then there is no problem. However, if a column before the last has the largest row of title writing, and the last column isn't as large, then the images before it in the middle row are bumped down below. I know, that's a long confusing answer but you should be able to understand when you look at the site. Anyway, is there anyway to fix this...maybe make the title rows a fixed height so that it doesn't screw up the rows below it? Thanks very much for any help, Matt |
|
Posts: 27300
There might be a bettwer way But...Here is what I would do:
In the css you are using (gallery/themes/siriux/theme.css) find:
and add
Play with the margin in both cases and the font size.
Save the css as:
gallery/themes/siriux/local/theme.css
Posts: 9
Thanks for the post, I tried it but it didn't seem to do anything. I didn't quite know if you meant add that entire thing BELOW the other one, or REPLACE. But, I tried both...when I just added that second bit after it didn't do anything. When I replaced it with the other one, all the pictures lined down in just one column, no titles. Anything else I could try?
Posts: 9
Ok sorry that was really dumb what I just said...I figured out what you meant just after I posted that. And so yes I've been playing around with the font size and margin etc. but I still keep running into problems even though the amount of space the text is able to take up it a lot. Anyway, take a look back at the second page and you'll see what I mean.
Posts: 27300
Im a bit confused.
Looking at the page now I don't see any text except for the last row. Do you want to have text under the thumbs?
or is it the titles that are over the page numbers that is a issue?
Can you make a screenshot of what you are seeing?
Posts: 9
Sorry for the delay...
Ok, I'm looking through IE and you're looking through FF. What you are seeing through FF is wrong also though...but here are screenshots of what I'm seeing. The first screen is of what the first page of necklaces looks like and this is what I want it to look like. However, the second page (the second screenshot) is all off and I want to fix that. But I also want to fix the issue with FF not showing the same thing. Thanks, hope this clears it up. Matt
Posts: 27300
I can't see if this works without installing your theme and your titles but this works in FF.
This theme was not designed fro text to be added.
I have found 2 tools that are invaluable the firefox browser and the web development tool that allows you to Make live edits to the CSS of a web page..
Once you have them both installed....
select edit css and under the 'information' dropdown check display ID & class details.
Edit your CSS and you will see the results. Once you have this the way you want, upload your edited css to the server.
Dave