WordPress.org

Forums

[resolved] Page title breaks in wp_list_pages (3 posts)

  1. mattbaehr
    Member
    Posted 4 years ago #

    I have read a number of other posts regarding this, but none quite asking the same thing.

    I am using wp_list_pages in my fixed width footer.
    I have pages with several words in the title (Maps and Directions)
    The break to send it to the next line is occurring in the middle of the page title, instead of after the previous page.

    In essence, I need WP to treat the page title as one word.

    Any ideas?

    Site is here - http://www.computerdepot-online.net

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Add white-space:nowrap; to:

    #navfooter ul li a {
    color:#FFFFFF;
    font-family:Verdana,Helvetica,Sans-Serif;
    font-size:13px;
    margin:0;
    padding:6px;
    }

    in style.css

  3. mattbaehr
    Member
    Posted 4 years ago #

    Perfect. Thanks a million.

Topic Closed

This topic has been closed to new replies.

About this Topic