WordPress.org

Support

Support » Themes and Templates » Theme margins and text

Theme margins and text

Viewing 7 replies - 1 through 7 (of 7 total)
  • WPyogi

    @wpyogi

    Forum Moderator

    I don’t see what you mean by “text goes until the end.” Your entire post is on that page so far as I can see — isn’t this the last sentence?

    Maybe it is finally time for Fergie to show more positive signs towards the “younger” generation

    Sorry, I mean can you look at the customisation for the latter’s site in terms of text. Like what colour, the padding, etc.? I’m not good with Firebug, would be appreciated.

    WPyogi

    @wpyogi

    Forum Moderator

    The only differences in the text are this:
    Font size — your is 13px , theirs is 12px
    Color — yours is #1A1919, their is #333333 (black)
    Line height — yours is 19.5px and theirs is 22px

    Their main content section is also wider than yours.

    Firebug is really worth learning how to use — there is lots of easy to follow information an the Firebug site, and it’s very easy once you spend a few minutes learning the basics.

    Can you give me the code to make the main content the same width as his and the line height the same, mate?

    WPyogi

    @wpyogi

    Forum Moderator

    In your custom CSS, add the line height to the p styles:

    p {
        font-size: 1em;
        line-height: 1.9;
        margin: 5px;
        padding: 1px;
    }

    So far as making the content section wider, that’s more complicated because it means adjusting many other elements on the page as well. Page layouts are kinda like puzzles — and if you change the size and shape of one piece, the other pieces no longer fit together right — an then you have a mess. It would not be so bad if it was only one static HTML page, but with dynamic pages and many different templates using the same basic pieces, it’s complicated and easily troublesome. So I really would not recommend going that route, especially if you’re not comfortable with CSS fiddling :).

    Done, it looks so much better now. Thanks for your help, yogi. 😀

    WPyogi

    @wpyogi

    Forum Moderator

    You’re welcome and yep, I agree that the line spacing is a good change — it’s amazing how big an impact those details of typography and layout can have on readability, etc. But then again, on the other hand, don’t get too obsessed with that stuff — focus on what’s on the page cause that’s what people really care about!! Good luck with it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Theme margins and text’ is closed to new replies.