PDA

View Full Version : centering category/gallery titles under thumbnails?


joiedevie
Nov-09-2007, 03:10 PM
Hello code jockeys,

Here's my site: http://joiedevie.smugmug.com I have a couple questions:

I would like to center the category and gallery titles under their respective thumbnails on my homepage and category pages, instead of having them to the right side. Then, I would like to center all the thumbnails so it's all nice and pretty.

Thanks, guys! This forum is an incredible resource.

denisegoldberg
Nov-09-2007, 03:24 PM
Hello code jockeys,

Here's my site: http://joiedevie.smugmug.com I have a couple questions:

I would like to center the category and gallery titles under their respective thumbnails on my homepage and category pages, instead of having them to the right side. Then, I would like to center all the thumbnails so it's all nice and pretty.

Thanks, guys! This forum is an incredible resource.
See the answer to question 10 in the advanced customization FAQ - http://www.dgrin.com/showthread.php?t=52811. That has instruction for lining up your categories / galleries 4 across with the title under the thumbs.

--- Denise

joiedevie
Nov-09-2007, 03:42 PM
no no, vertically.

See the answer to question 10 in the advanced customization FAQ - http://www.dgrin.com/showthread.php?t=52811. That has instruction for lining up your categories / galleries 4 across with the title under the thumbs.

--- Denise

denisegoldberg
Nov-09-2007, 03:54 PM
no no, vertically.
Sorry, I think I'm a little confused about what you want. Can you draw a word picture of what you are looking for?

The code I referenced will set the title under the thumb for the category or gallery, but will change the display to 4 across. So from the standpoint of thumb to title, it is vertical. But from the standpoint of all of the categories / galleries, they would be arranged 4 across.

There is another version that sets up the galleries 2 across, but still with the title under (instead of next to) the thumbs. That's # 11 in the same FAQ I linked above.

I believe that experimenting with the width would allow you to display a single entry on a line if that's what you're looking for.

--- Denise

joiedevie
Nov-09-2007, 04:12 PM
I tried to edit my last post, but it didn't 'take'. I took the code from the adv. customization faq, and it worked great, and does almost everything I need it to.

However, I want the galleries/categories to 'justify', so they line up evenly, no matter how many there are. As of now, it looks nice with 4 galleries, but is left-justified if there are only 3. (I suspect that it is left-justified with the 4, but it's just spaced out to fit nice. Is that correct?)

So, is this possible?

Sorry, I think I'm a little confused about what you want. Can you draw a word picture of what you are looking for?

The code I referenced will set the title under the thumb for the category or gallery, but will change the display to 4 across. So from the standpoint of thumb to title, it is vertical. But from the standpoint of all of the categories / galleries, they would be arranged 4 across.

There is another version that sets up the galleries 2 across, but still with the title under (instead of next to) the thumbs. That's # 11 in the same FAQ I linked above.

I believe that experimenting with the width would allow you to display a single entry on a line if that's what you're looking for.

--- Denise

denisegoldberg
Nov-09-2007, 04:18 PM
I tried to edit my last post, but it didn't 'take'. I took the code from the adv. customization faq, and it worked great, and does almost everything I need it to.

However, I want the galleries/categories to 'justify', so they line up evenly, no matter how many there are. As of now, it looks nice with 4 galleries, but is left-justified if there are only 3. (I suspect that it is left-justified with the 4, but it's just spaced out to fit nice. Is that correct?)

So, is this possible?
I don't know of any way to change the sizes or number across based on the number of categories that exist. Maybe someone else knows some magic...

I did something a little different for my own galleries page. I used an html-only page because I wanted the "thumbs" to be quite a bit larger than was possible with the standard displays. I was willing to jump for the categories since I don't often add categories - while I do add galleries all of the time. I know that if I add a category that I also need to change my "Gallery" page definition.

--- Denise

joiedevie
Nov-09-2007, 04:18 PM
I tried to edit my last post, but it didn't 'take'. In the meantime, I took the code from the adv. customization faq, and tried it out. I like it, and I've scrapped what I initially asked for.

Just one thing: I want the galleries/categories to 'justify', so they line up evenly, no matter how many there are. As of now, it looks nice with 4 galleries, but is left-justified if there are only 3. (I suspect that it is left-justified with the 4, but it's just spaced out to fit nice. Is that correct?)

So, is this possible?

Sorry, I think I'm a little confused about what you want. Can you draw a word picture of what you are looking for?

The code I referenced will set the title under the thumb for the category or gallery, but will change the display to 4 across. So from the standpoint of thumb to title, it is vertical. But from the standpoint of all of the categories / galleries, they would be arranged 4 across.

There is another version that sets up the galleries 2 across, but still with the title under (instead of next to) the thumbs. That's # 11 in the same FAQ I linked above.

I believe that experimenting with the width would allow you to display a single entry on a line if that's what you're looking for.

--- Denise