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:
(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!
(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!
no subject
Date: 2011-09-20 09:38 am (UTC)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.
no subject
Date: 2011-09-20 09:41 am (UTC)That's what I love about this place: people know what you mean, and even folks you don't know help out above and beyond! :D
no subject
Date: 2011-09-20 09:45 am (UTC)#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.
no subject
Date: 2011-09-20 09:51 am (UTC)no subject
Date: 2011-09-20 09:52 am (UTC)no subject
Date: 2012-05-20 02:45 pm (UTC)Here's what it looks like:
http://sebastian-spence.dreamwidth.org/
If I can't change it, no problem.
no subject
Date: 2012-05-20 02:49 pm (UTC)no subject
Date: 2012-05-20 03:18 pm (UTC)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;
}
no subject
Date: 2012-05-20 03:23 pm (UTC)You've put the image in above the header box, using CSS, so that's where you need to tell it the height of the image, which you've done with the code given above. By taking the pic out of the header box, that setting needs to revert to 0 and then the banner with the text will revert to its default height. You've not got the URL in the box on the Customize Image page any more, after all.
no subject
Date: 2012-05-20 03:23 pm (UTC)nackground-position instead of background-position
and 438 px instead of 438px
I think that should fix it. :)
no subject
Date: 2012-05-20 03:25 pm (UTC)no subject
Date: 2012-05-20 03:29 pm (UTC)My header image looks great! Now I can fix it on my own journal, too.
no subject
Date: 2012-05-20 03:33 pm (UTC)no subject
Date: 2012-05-20 02:51 pm (UTC)