[personal profile] sharpiefan posting in [community profile] style_system
I've just switched a community journal that I run to the new Librarian's Dream layout (which looks great), and added a header banner in using the CSS code below:

#canvas {
margin-top: 10px;
background-image: url(http://i26.photobucket.com/albums/c139/Sharpiefan/AnythingAoSbanner2.png);
background-repeat: no-repeat;
background-position: top center;
padding-top: 250px;
}

Unfortunately, this leads to a slight issue with the sidebar overlapping the banner a little, as shown in the screencap below (click to enlarge):

Photobucket

Is there any way to centre the banner above the entries? (I can alter the image itself to do, but it will be a case of trial and error, and will not look right on monitors that don't have the same resolution as my own, so it's not the ideal solution.)

Help!
Tags:

Date: 2012-10-18 08:40 pm (UTC)
branchandroot: oak against sky (Default)
From: [personal profile] branchandroot
If you put the image in #header rather than #canvas, that will center it over the entries, but that will also put it on the blue background. It looks like that wouldn't clash with the image, though, so maybe that would be all right?

Date: 2012-10-18 09:09 pm (UTC)
branchandroot: oak against sky (Default)
From: [personal profile] branchandroot
Excellent, glad I could help! *grins* And thank you!

Profile

Dreamwidth style system discussion

October 2025

S M T W T F S
   1 234
567891011
12131415161718
19202122232425
262728293031 

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Nov. 1st, 2025 06:56 am
Powered by Dreamwidth Studios