• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Centering Logo in Header – Sample Child Theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Centering Logo in Header – Sample Child Theme

This topic is: not resolved

Tagged: genesis, Logo, sample child theme

  • This topic has 5 replies, 3 voices, and was last updated 10 years ago by Landon.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 17, 2012 at 9:30 pm #5862
    Landon
    Member

    So very frustrated with myself on this. Have added a logo to .header-image #title-area but can not get it centered. I've messed  with the css so much I've probably got it all screwed up. Regardless, if someone could take a look and tell me if something stands out, I'd really like to move past this and work on the rest of the site.

    http://magmo.dev4.webenabled.net/
    Genesis Framework
    Sample Child Theme

    Thanks a lot!

    Landon

    December 17, 2012 at 9:48 pm #5866
    Doak Heggeness
    Member

    You need to change the float:left to float:none or delete it.


    Doak Heggeness, WordPress Development | Website

    December 17, 2012 at 9:55 pm #5867
    Landon
    Member

    Doak, thanks for looking and responding. However, I've tried that. Float: right works as expected but Float: none or just deleting do not work, it remains on the left.

    Currently it's Float: none but as you will see, it doesn't matter.

    December 17, 2012 at 11:15 pm #5877
    leannemorrison
    Member

    Hi Landon, have you tried this?

    Add "background-position: center !important;" to the #header rule

    I found it in the archived posts just now.  Not sure where to add it (stylesheet etc) but I remember using it recently and it worked.

    Hope it helps

    Cheers

    Leanne

    December 18, 2012 at 7:29 am #5909
    Landon
    Member

    Leanne, I had no luck with that either. It looks like after the fact the other person working on this placed...

     <a title="Home" href="http://www.magicmomentsdvd.com"><img alt="mmlogo1.png" src="http://magmo.dev4.webenabled.net/wp-content/uploads/2012/12/mmlogo1.png" /></a>

    directly into the Genesis Theme Settings>Header and Footer Scripts.

    Is this a suitable way of doing it? It doesn't 'feel' right.

    Thanks again!

    January 29, 2013 at 9:50 pm #16297
    Landon
    Member

    Leanne, I just ran into this again on a different site and your suggestion to add background-position: center !important; did the trick.

    Thanks!

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble