WordPress.org

Ready to get started?Download WordPress

Forums

Float the logo in the header? (9 posts)

  1. hikingdenver
    Member
    Posted 4 years ago #

    I want the logo to line up with the text but on the far right side of the header. I've tried different things but have had no luck. Solid start but definitely stuck. My site is http://hikingdenver.net.previewdns.com/ This is the code currently in place, what do I change/add?

    <p
    <img id="logo" src="<?php bloginfo('template_directory'); ?>/images/cmcroundlogo.png"/>

    #logo
    {
    float: right;
    padding-top: 0px;
    padding-right: 20px;
    padding-left: 500px;
    }
    </p>

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    <img id="logo" src="<?php bloginfo('template_directory'); ?>/images/cmcroundlogo.png"/>

    This part calling the logo goes in header.php, I think you have that right

    #logo
    {
    float: right;
    padding-top: 0px;
    padding-right: 20px;
    padding-left: 500px;
    }

    your css goes into your style.css file, not in php files. All css goes into the css document

    and don't wrap any of that in <p> </p> tags.....

  3. hikingdenver
    Member
    Posted 4 years ago #

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    technically...any of them will work. They are all called in. But for organization sake, I'd pick default or client...... (back the file up before editing, in case a mistake is made...)

  5. hikingdenver
    Member
    Posted 4 years ago #

    hmmm...I tried client and default but neither will let me add anything. is it possible to be locked out?

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    where are you doing this from? In the WP editor? You may have to adjust permissions....

    does it say

    You need to make this file writable before you can save your changes. See the Codex for more information.
    under it?

  7. hikingdenver
    Member
    Posted 4 years ago #

    nope, doesn't say anything...just can't type anything

    I am in the WP editor

  8. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    well...can you edit the other ones? The css should be able to be added to any of the css files...

    But I'd prefer them in the ones you can't edit....for organization.

    This is the part where I wait for someone who know more than me to figure out what's up with those files....

  9. hikingdenver
    Member
    Posted 4 years ago #

    I'll wait for a bit and see if anyone else chimes in...this shouldn't be so hard. Thanks for your effort

Topic Closed

This topic has been closed to new replies.

About this Topic