WordPress.org

Ready to get started?Download WordPress

Forums

Centering Header Image and Nothing works! (5 posts)

  1. lisamv
    Member
    Posted 1 year ago #

    Well, I've tried all the different code that everyone has posted I could find in the forums for centering a header and NOTHING is working. This is why I don't like wordpress, this should be an easy fix but it's not. Three hours later and it still isn't centered so I give up. I'm using the Blocomo theme. Anyone know what the code is to accomplish this?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Can you post a link to the webpage in question. Do you have a Custom CSS plugin or Child Theme?

  3. lisamv
    Member
    Posted 1 year ago #

    I'm using a child theme Blocomo (I think it's a child theme). I don't have a plugin for Custom CSS, should I? Web address is artfulmusestudio.com

    Thanks Andrew! :)

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Okay, you don't need a Custom CSS plugin if you have a Child Theme.
    In your Child Theme style.css file, right at the bottom, enter this:

    .site-header {
     text-align: center;
    }
  5. lisamv
    Member
    Posted 1 year ago #

    Thanks Andrew! To the rescue again, my hero :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.