Header image

A place to discuss and receive support for LCMS (Little Content Management System)

Postby njw » Tue Oct 10, 2006 7:21 am

Does the header image have to be the size it is by default? If not, how do I adjust it to be roghly half the depth it currently is? If you put a smaller image in, the rest of the space is filled with black. I have had a look at the css files and the template, but can't see any default size in there.

Many thanks

Neil
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Tue Oct 10, 2006 12:25 pm

This is also a stylesheet setting...

Look in the style.css file. You'll find a section as follows:

Code: Select all
#desc{
height:200px;
color:#ffffff;
padding:0;
background:#505050 url(images/front.jpg) top left no-repeat;
clear:both;
margin:5px 0 0 0;
}


Simply change the height to your desired height... this should work.

Or if you want to keep your stylesheet changes separate from the distro, you can create a new stylesheet with the following:
Code: Select all
#desc {
   height: 125px;
}


And include it after the style.css file is included.. this will override the height for that section.

Hope this helps.

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby njw » Tue Oct 10, 2006 12:28 pm

Thanks Steve. I did look, but I obviously missed it!

Neil
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Tue Oct 10, 2006 2:44 pm

The id #desc certainly is not an intuitive name for this section.. easy to miss.

Best regards

Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to LCMS Discussion

Who is online

Users browsing this forum: No registered users and 8 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved