WordPress.org

Support

Support » Themes and Templates » Centering A Header

Centering A Header

Viewing 3 replies - 1 through 3 (of 3 total)
  • leejosepho

    @leejosepho

    You would first need a Child Theme if you do not already have one:
    http://codex.wordpress.org/Child_Themes

    Then, and depending upon what theme you are using, you would (in your Child Theme) possibly add something like this in one or more places:

    .site-header {
    	text-align: center;
    }

    fantasma98

    @fantasma98

    leejosepho’s answer is correct in a general

    You just need to replace the .site-header with your defined element, which is #header-inner

    Just don’t forget to backup your css file, just in case anything gets wrong on the process.

    Ok, so I tried both of those answers — I really have no idea what you both mean! I do have a Child Theme that I had to download because of the theme I have running on the page now, but I just want an easy fix or if you could tell me where to write those codes in 🙁 I am so lost!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Centering A Header’ is closed to new replies.
Skip to toolbar