WordPress.org

Ready to get started?Download WordPress

Forums

Nav links are left aligned. How to RIGHT align last link? (4 posts)

  1. CanCanCase
    Member
    Posted 5 years ago #

    I'm sure this is an easy one, but I don 't know CSS well enough to get it done...

    Site is http://www.SaveOurSportfishing.com
    All the links in the Nav bar line up on the left (as they should.)
    The little RSS icon on the right is put there with a <div align="right"> in the header.php template. I want to add some text (my readers don't know what the orange logo is for!) to read, "Subscribe: " just before the logo. Any text that I add just before the orange button, however, displays on the wrong line (subscript?) and is formatted in a different color so it's hardly visible...

    Any ideas about how I can get the image and "Subscribe: " text aligned with the rest of the Nav links, but floated to the right instead of the left?

    TIA!
    -Case

  2. saltier
    Member
    Posted 5 years ago #

    The easiest way would be to add align="right" to your rss image.
    Good luck.

  3. CanCanCase
    Member
    Posted 5 years ago #

    The rss image is already placed with align="right"... Take a look at the site, however, and you'll see what the style sheet is doing to the text "Subscribe: " placed just before the rss image.

    I guess my text (that isn't one of WP's pages) is inheriting styling that doesn't match the page list.... how to fix?

    -Case

  4. CanCanCase
    Member
    Posted 5 years ago #

    Okay, more tinkering got closer to the goal... "Subscribe: " is now properly styled and placed using &nbsp; The image, however, wants to either line up spaced too far away from the text, or on a whole other line below the nav bar...

    Ideas?

    -Case

Topic Closed

This topic has been closed to new replies.

About this Topic