[personal profile] sharpiefan posting in [community profile] style_system
Hi there! I've recently switched to Practicality and have again encountered Dreamwidth's love of putting text over a header banner, as shown here, top right: Photobucket (click the thumbnail for a bigger view).

I'm not fantastic with HTML and CSS, but I know it's there somewhere, where I can put the header banner as a background image and move everything down, but I can't remember where to find that bit of code or how to alter it.

This isn't just an issue with Practicality, it occurs in every DW layout I've used: the Customize area allow for a link to a banner, but the text in that box won't move down, despite the user filling in the height of the banner, so the end result is a clash of text and banner that is frankly ugly. Would it be possible for someone to look into this and change the behaviour of text in the topbox? Or is that too big an ask, as it affects pretty much all DW layouts? I wouldn't know where to post such a suggestion, myself, and as I've said, I know next to nothing about coding.

Thanks for your help!

Date: 2011-09-20 09:38 am (UTC)
ninetydegrees: Art: self-portrait (Default)
From: [personal profile] ninetydegrees
This isn't just an issue with Practicality, it occurs in every DW layout I've used: the Customize area allow for a link to a banner, but the text in that box won't move down, despite the user filling in the height of the banner, so the end result is a clash of text and banner that is frankly ugly.

The header image is meant to insert a background image not a true banner hence the fact that text is not pushed down (the height setting is there ensure that the header is high enough for your image). I've just realized the text is misleading so I'll open a bug to fix that. There's also a bug open to create a new option for a true banner (I think I was the one who suggested it actually) but until it's implemented you'll have to use custom CSS to do this or insert your image differently, which I'm going to tell you about ASAP.

Date: 2011-09-20 09:45 am (UTC)
ninetydegrees: Art: self-portrait (Default)
From: [personal profile] ninetydegrees
Ok so instead of using the Image settings like you've done, I think using Custom CSS for everything works better and is easier to manage:


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

This goes into http://www.dreamwidth.org/customize/options?group=customcss.

Date: 2011-09-20 09:52 am (UTC)
ninetydegrees: Art: does and waterfall (dear deer)
From: [personal profile] ninetydegrees
You're most welcome!

Date: 2012-05-20 02:45 pm (UTC)
storyfan: (Default)
From: [personal profile] storyfan
That coding works beautifully in that my header image doesn't have words running through it anymore. But now the red banner is just as deep as the header image. Is there anything I can do about that?

Here's what it looks like:

http://sebastian-spence.dreamwidth.org/

If I can't change it, no problem.

Date: 2012-05-20 02:49 pm (UTC)
ninetydegrees: Art: self-portrait (Default)
From: [personal profile] ninetydegrees
Can you check your settings at Customize and make sure you haven't changed the height of your header? It should be blank by default. Yours is set to 438 hence the huge space.

Date: 2012-05-20 03:18 pm (UTC)
storyfan: (Default)
From: [personal profile] storyfan
Wow, you're fast!

I clicked on images and removed the 438. But doing that means the header image disappears, too, even if it remains 438 on the CSS customizing page. Or should both of them be blank?

here's what I have on the CSS page:

#canvas {
background-image: url(http://i794.photobucket.com/albums/yy221/storyfan/spence.jpg);
background-repeat: no-repeat;
nackground-position: top center;
padding-top: 438 px;
}

Date: 2012-05-20 03:23 pm (UTC)
ninetydegrees: Art: self-portrait (Default)
From: [personal profile] ninetydegrees
You have two typos in your code:

nackground-position instead of background-position

and 438 px instead of 438px

I think that should fix it. :)

Date: 2012-05-20 03:29 pm (UTC)
storyfan: (fireworks)
From: [personal profile] storyfan
Thank you so much, both of you! Everyone at DW is just amazing. I love it here.

My header image looks great! Now I can fix it on my own journal, too.

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 Jan. 7th, 2026 11:36 pm
Powered by Dreamwidth Studios