WordPress.org

Ready to get started?Download WordPress

Forums

Kubrick: How to re-position 'Pages' link. (3 posts)

  1. fhgutierrez
    Member
    Posted 5 years ago #

    Hello Group,

    Was curious if there is a simple way to re-position my "pages" links so they appear horizontal just below my header.

    Right now they are at the top of my right column. http://www.frankloveswine.com

    Is there an easy fix for this?

    Thanks.

    -Frank

  2. stvwlf
    Member
    Posted 5 years ago #

    Hi - My recommendation is, unless you are comfortable working with PHP and CSS, switch to a theme that already has horizontal page navigation built in. Getting the CSS set up correctly is a bit tricky. It would take you less time to add your present header image to a new theme than it would to convert the present theme to horizontal nav.

    If you really do not want to switch, find a theme that has the horiz nav built in and borrow from its theme code, adding to your own.

    The gist of it is in header.php, create code like

    <ul>
      <?php wp_list_pages(); ?>
    </ul>

    The coded page about horiz nav is here
    http://codex.wordpress.org/Creating_Horizontal_Menus

    then in the CSS
    define the LI tags as float: left
    They then get styled with foreground, background, margin, padding, etc.

  3. fhgutierrez
    Member
    Posted 5 years ago #

    Thanks!

    I'll give it a try.

Topic Closed

This topic has been closed to new replies.

About this Topic