Support » Themes and Templates » Moving my page links into my header

  • I have cut the PHP code from my sidebar file and pasted it into my header file so that my pages are displayed in the header. This is the code:

    <div id="top-navigation">
    	<div id="nav-container">
    			<ul><?php wp_list_pages('' ); ?></ul>
        </div><!---box that contains the actual links and quote background image--->

    However I am having a problem with the link. They are taking on the hover style I have applied in my stylesheet but not the :link or :visited styles. Here is an image:

    The CSS

    #nav-container a:link,
    #nav-container a:link a:visited {
    	color: #5c1010;
    	text-decoration: none;
    	font-size: 150%;
    	line-height: 150%;
    	letter-spacing: 5px;

    I would also link it not to display the title “pages” either and don’t know how to remove this.

    Appreciate any help.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Moving my page links into my header’ is closed to new replies.