WordPress.org

Support

Support » Themes and Templates » Style Sheet – Header alignment

Style Sheet – Header alignment

  • Hi,

    Hoping someone can help. I’m trying to edit the style sheet and want to change the alignment. Currently it is centred, which I don’t like the look of. I good example of this on my blog is http://www.clarosoftware.com/blog/?p=75

    Does anyone know what exactly to edit in the css file? Any help would be much appreciated.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • It isn’t centered, but justified.

    add text-align: left; to the h2 tag in your stylesheet, like this:

    h2 {
      margin:30px 0 0;
      text-align:left;
    }

    line 348 in your style.css, however this will also look strange for that particular header.

    Peter

    Hi Peter,

    Thanks for that. Much appreciated.

    Daniel

    Hi Peter,

    I have a similar question but do not want to use exact positioning – I want to align the element using % instead so that it shifts accordingly when the page is resized. Can you help?

    Thanks,
    Landia

    esmi

    @esmi

    Forum Moderator

    Site url?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Style Sheet – Header alignment’ is closed to new replies.