WordPress.org

Ready to get started?Download WordPress

Forums

Blaskan
move tagline to right of site title (8 posts)

  1. jimtron
    Member
    Posted 2 years ago #

    I'd like to move my tagline (site description) to the right of the site title, on the same line. I got as far as determining the header ID of the tagline ("header-message"), but am not sure how to proceed. Would appreciate help.

    http://wordpress.org/extend/themes/blaskan/

  2. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    Hard to give much exact help without a link to your site, but try adding this to the style.css file:

    #header-message {
    float: right;
    margin: ??px ??px ??px ??px;
    }

    You can adjust the alignment of it by adding margin settings in the above. Margins are: top right bottom left;

    Replace all ?? with some numbers (zero if nothing else)

  3. jimtron
    Member
    Posted 2 years ago #

    Thanks, that worked! I added the CSS and by trial and error came up with:

    #header-message {
    float: right;
    margin: -50px 340px 0px 0px;
    }

    Site: http://www.picturedujour.com/

  4. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    Does not look quite right in Firefox -- it's under the title -- I think you only need 40 where you have 340!

  5. jimtron
    Member
    Posted 2 years ago #

    Weird, it looks perfect to me--here's a screenshot:
    http://peerhere.com/temp/wp-tagline.png

    I'm on FF 12 and OS X 10.7.4

    I tried several margin settings...I wonder if you're seeing an earlier one--although I didn't make my last post until I got it right.

  6. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    Ah, try narrowing your browser window...there are ways around that, but a bit more complicated -- using absolute positing in CSS.

  7. jimtron
    Member
    Posted 2 years ago #

    Ah, I see what you mean...I'll experiment with absolute positioning, thanks.

  8. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    Actually, I tried that and I think that's not the best either...maybe just remove float, and then use the margin setting to move it -- that way it's relative to the title -- which is what you want, I think. though you probably then also need to add top margin to the nav bar...

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags