WordPress.org

Ready to get started?Download WordPress

Forums

How to center a foreground (clickable) logo? (3 posts)

  1. Dr. Swank
    Member
    Posted 3 years ago #

    Hey everyone,

    I'm a WordPress n00b that's migrating from Joomla. I've scoured the forums for two hours now trying to center my logo, but none of the options seem to work for me.

    I would ideally like to have a clickable (back to the main page) logo centered on the top of the page (using Layers theme). Here's what I have in my header.php:

    <div id="headerTop">
                        <!-- Begin headerTop -->
    
    <h1><a rel="home" href="<?php echo get_option('home'); ?>/"> <img class="center" src="http://www.swankworld.com/gamescrapwp/siteimages/gamescraplogo.jpg" /></a></h1>

    The only thing that seems to work is if I make my logo a background image...unfortunately, that kills the top of the template and I lose the background image at the top.

    You can view the site here. Apologies in advance for the mess...it's the start of a work in progress ;).

  2. Dr. Swank
    Member
    Posted 3 years ago #

    Ugh, in all of this trial and error I've also lost my menus below the logo. Would anyone know what I need to bring them back? Apologies.

  3. Dr. Swank
    Member
    Posted 3 years ago #

    Hearing crickets. You mean to tell me the guy who thought there was a 2010 millennium bug affecting his WordPress gets an answer and my image question isn't worthy? Awwwwww...

Topic Closed

This topic has been closed to new replies.

About this Topic