WordPress.org

Ready to get started?Download WordPress

Forums

How do i center my logo? (3 posts)

  1. sharpmoney
    Member
    Posted 11 months ago #

    Can somebody help me out with the custom css needed to center my logo? my website is SneakerHeaven.com.

    Any help would be much appreciated.

    Thanks,

  2. ecdoesit
    Member
    Posted 11 months ago #

    This will center it within its span of 8 columns:
    .head .logo { text-align: center }

    This will center it absolutely within that row on account of the search bar:
    .head .logo { text-align: right }

    It's not pixel perfect, but you can take care of that by adding padding to the anchor tag:
    .head .logo a { padding-right: 25px }

    In your case you might want to just use those last two.

  3. sharpmoney
    Member
    Posted 11 months ago #

    That worked perfectly. Thanks for the help!

Reply

You must log in to post.

About this Topic