ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
ninetydegrees (90d)☕ ([personal profile] ninetydegrees) wrote in [site community profile] dreamscapes 2009-11-07 06:50 pm (UTC)

Sorry for not getting back to you sooner.

As long as the photo is yours, it's perfectly suitable. :)

Would you take a look at http://www.dreamwidth.org/customize/preview_redirect?themeid=86569 and tell me what you think?

I had to resize the image to make sure that people with lower resolutions could see the header correctly and I thought that, since the photo's cut on the right side, it would be nice to put it on the right instead of both sides but I can change that, of course. It's up to you. ^_^


Now onto the explanation about moving the title closer to the left:

- If you look at the source code for the Drifting layout (this is available from here), you'll notice that the header title has a big left margin to fit the original image:

#header h1#title {
$page_title_font
font-weight: bold;
font-style: italic;
color: $*color_page_title;
line-height: 0.9em;
margin: 0px 0px 0px 235px;
width: 100%;
}


You simply need to change this margin to something smaller:

#header h1#title {
margin-left: 10px;
}

Same thing for the subtitle.

Where to put this?

In your layer, like this:
function Page::print_theme_stylesheet() {
    """
    #header h1#title {
        margin-left: 10px;
    }
    """;
}


That's it!

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting