Centering A Header (4 posts)

  1. kristinaelizabethphoto
    Posted 2 years 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
    Posted 2 years ago #

    You would first need a Child Theme if you do not already have one:

    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
    Posted 2 years 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
    Posted 2 years 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