lucathia: (Default)
[personal profile] lucathia posting in [community profile] style_system
Hello! I have two things I need help with.

1. How do I remove the page title from the header? I used the following, which hid the title nicely, but my header is still showing "recent entries" and other page titles. I looked through past entries here, and I thought this code would work.



2. How do I format the hr tag? I tried formatting it using the following code, but nothing showed up. I tried other, simpler things such as just using a solid line, but nothing shows up there either. Is this something to do with the layout I chose? The default seems to be just extra spacing as the hr and no horizontal lines.

Date: 2017-04-30 12:54 pm (UTC)
koryou: (Default)
From: [personal profile] koryou
The fault for both of those is with your base style.

For the line, there's a display: none in there. So you need a declaration to make it show up: display: block, and there it is.

As for the page title, it's in the base style as h2#pagetitle, which overrides your use of #pagetitle. All you need to do is to use h2#pagetitle, too. (Or you could declare it with !important, but try to avoid that if possible.)

I don't know which browser you are using, but both Chrome and Firefox - Opera too, I think - make it pretty easy to find stuff like that. Just right-click on what you want to change and choose 'Inspect Element'. It opens the developer tools and you can see the CSS that has been declared for any html element.

Date: 2017-05-02 06:55 pm (UTC)
koryou: (Default)
From: [personal profile] koryou

You're welcome. :)

Profile

Dreamwidth style system discussion

August 2017

S M T W T F S
   12345
6789101112
13141516171819
20212223242526
2728293031  

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 22nd, 2017 02:38 pm
Powered by Dreamwidth Studios