PDA

View Full Version : wider homepage


sagarmatha
Jan-06-2009, 09:35 AM
How do I make my homepage wider? I use carbonite theme and due to that there are black areas on my screen on both sides.
http://malmberg.smugmug.com

jfriend
Jan-06-2009, 11:22 AM
If you want to keep the carbonite theme for your homepage, then it is not easy to make it wider. There are images in that theme that have a particular width and you'd have to take those images, stretch them to the right dimensions, upload them to your site, then find all the right CSS to override the theme to use the new images.

Or, if you're willing to go with a theme that isn't based on images, a small amount of CSS can change the width of the homepage.

#homepage {width:900px;}

sagarmatha
Jan-06-2009, 11:42 AM
If you want to keep the carbonite theme for your homepage, then it is not easy to make it wider. There are images in that theme that have a particular width and you'd have to take those images, stretch them to the right dimensions, upload them to your site, then find all the right CSS to override the theme to use the new images.

Or, if you're willing to go with a theme that isn't based on images, a small amount of CSS can change the width of the homepage.

#homepage {width:900px;}

is to choose maybe a color theme and then apply #homepage ?

jfriend
Jan-06-2009, 11:58 AM
is to choose maybe a color theme and then apply #homepage ? Yes, that's all you have to do.

If you want more thumbs across, you will either have to make the width wide enough to get another column or tweak the way the thumbs are laid out so that more will fit.

sagarmatha
Jan-06-2009, 12:10 PM
Yes, that's all you have to do.

If you want more thumbs across, you will either have to make the width wide enough to get another column or tweak the way the thumbs are laid out so that more will fit.

if I choose a category I will still see a narrow page. How is that?
Is there something like #category ?

jfriend
Jan-06-2009, 12:18 PM
if I choose a category I will still see a narrow page. How is that?
Is there something like #category ?

Wooah. You make your homepage really wide and now it looks pretty crummy if your browser window and screen aren't pretty wide. If you want it to be able to go that wide, then you would probably be better off implementing a "stretchy" homepage and category design. That will size the homepage and categories to however wide the screen is, but not wider. It will then look good, no matter how wide the user's screen is. See this thread (http://www.dgrin.com/showthread.php?t=93221) for details.

In answer to your question, you can define the width for #category just like you did for #homepage, but I would not go that way if you want it as wide as you have it.