Homepage picture box size

Homepage picture box size

Postby ritratto » Mon Aug 23, 2010 5:09 am

Hi many thanks for this this great template I'm realy enjoying it and it looks great. I would like to know how I change the size of the image box you get with a post? My images appear in the box in the left column but look very squashed?. Help with this would be great as alot of my work is portrait. Many thanks. Graham

www.ritratto.co.uk
ritratto
 
Posts: 3
Joined: Mon Aug 23, 2010 1:34 am

Re: Homepage picture box size

Postby Mina » Mon Aug 23, 2010 2:49 pm

To change the size of the preview images go into Admin >> Appearances >> Editor >> style.cssand find this line:
  Code:
img.preview { float: left; width: 172px; height: 93px; margin: 18px 0 0 28px; padding: 0; }

and change the width and height values accordingly.

Of course if you change the size of the preview images you'll need to remove the brown box surrounding then as that is a static size graphic. To do that go into style.css and find this line:
  Code:
.left-column .entry { background: #b7a176 url(images/preview.jpg) no-repeat; width: 230px; height: 130px; padding: 0; margin: 15px 0 7px 0; border: none; }

and change background: #b7a176 url(images/preview.jpg) no-repeat; to background: #b7a176; or whatever background color you want. Or if you don't want any background color it would be background: none;.
User avatar
Mina
Cloisters Mama
 
Posts: 364
Joined: Fri Aug 14, 2009 8:42 pm

Re: Homepage picture box size

Postby ritratto » Mon Aug 23, 2010 5:09 pm

Thankyou so much for your superfast relply. I like your brown boxes and would like to keep them in, although I will practice with your advice to get familier with the scripts.
I have made the images fit the graphic by editing the image in paint then saving them as thumbs in a different folder, this allows me to show a snippit of the image to fit the brown box. I then use the normal size image in the post itself. Now the frontpage preview looks great and when clicked on it opens the original image at normal size. Thanks again for the fast response. Soho is an awsome template thankyou so much.

Graham Bradshaw

www.ritratto.co.uk
ritratto
 
Posts: 3
Joined: Mon Aug 23, 2010 1:34 am

Re: Homepage picture box size

Postby Mina » Tue Aug 24, 2010 2:45 am

It's looking real good Graham and your portraits are beautiful. Your talent is amazing! Good luck with it.
User avatar
Mina
Cloisters Mama
 
Posts: 364
Joined: Fri Aug 14, 2009 8:42 pm

Re: Homepage picture box size

Postby ritratto » Tue Aug 24, 2010 4:07 am

Thankyou Mina :o)
ritratto
 
Posts: 3
Joined: Mon Aug 23, 2010 1:34 am


Return to Soho Serenity

Who is online

Users browsing this forum: No registered users and 1 guest

cron