WordPress.org

Ready to get started?Download WordPress

Forums

Oxygen Header image center (3 posts)

  1. themoustaches
    Member
    Posted 1 year ago #

    Hey everyone!

    Please don't laugh if it's a silly question. We are currently using the Oxygen theme and would like to center the header image instead of it being aligned left, kind of like this site which also uses oxyen as a theme: http://acrestosea.com/. We tried messing with the css, but as you can probably guess it didn't work. Could anyone help us out?

    Blog link: http://themoustaches.com

    Thanks in advance guys :)

  2. paulwpxp
    Font hero
    Posted 1 year ago #

    You must use a child theme, to hold all the changes made to theme.
    http://codex.wordpress.org/Child_Themes

    Once you have your black child theme setup and activated properly, put this in your child theme's style.css just down below the @import line

    #branding {width:100%;float:none;}
    #header img {display:block;margin:0 auto;}

    The logo should have a width of 300px and height around 100px to make it look nice, but it's up to you.

  3. themoustaches
    Member
    Posted 1 year ago #

    It worked!! Thanks!!! You're my hero :D!

Topic Closed

This topic has been closed to new replies.

About this Topic