WordPress.org

Ready to get started?Download WordPress

Forums

Centering A Header (4 posts)

  1. kristinaelizabethphoto
    Member
    Posted 1 year ago #

    This is my website: http://www.kristinaelizabethphoto.com

    Trying to figure out how to center my header ; have read other posts on this topic where people give scripts -- but, 1. I don't know where to put those scripts into and 2. i don't know what I am doing.

    Please help. Thanks!

  2. leejosepho
    Member
    Posted 1 year ago #

    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;
    }
  3. fantasma98
    Member
    Posted 1 year ago #

    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.

  4. kristinaelizabethphoto
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic