Header issues

May. 30th, 2011 12:32 pm
[personal profile] aldro posting in [community profile] style_system
I'm currently using a layout with a custom header. I would like my journal title and subtitle to not show up, but if I change the code in the CSS to "display: none", the entire header disappears. If I delete the titles in the Customize Style section, the header itself also disappears. Is there any way to keep my header image, but have the titles removed?

Thanks in advance!

Date: 2011-05-30 11:41 am (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
Use the:

#title, subtitle {
display: none;
}

that [personal profile] twincy suggested, and then change the bit in your CSS which is:

#header {
height: 1263;
}

to:

#header {
height: 1263px;
}


That should do it!

Date: 2011-05-30 11:57 am (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
It should probably match the actual height of the header image (1263 px does seem big, but I assumed that that's how big the header really is *G*having some internet issues, so can't load stuff easily today to check)

Date: 2011-05-30 12:03 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
Oh! The code sets the height not the width.

You'll need to set:

width: 1263px;
height: SOMETHINGpx;

(Note, no space in between the number and the px)

Date: 2011-05-30 12:07 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
Great! Glad that helped!

Date: 2011-05-30 12:40 pm (UTC)
twincy: Danny Briere of the Philadelphia Flyers, wearing a hat at the Winter Classic. (Default)
From: [personal profile] twincy
Hooray!

Date: 2011-05-30 12:04 pm (UTC)
twincy: Danny Briere of the Philadelphia Flyers, wearing a hat at the Winter Classic. (Default)
From: [personal profile] twincy
That's because right now, it stretches as far as the title + subtitle. If you remove those, the header will disappear because there's a typo in the height measurement, as [personal profile] afuna pointed out.

Near as I can figure your header is 201px high, so try changing the height measurement accordingly:

#header {
height: 201px;
}

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. 25th, 2026 07:13 am
Powered by Dreamwidth Studios