WordPress.org

Ready to get started?Download WordPress

Forums

Page listing text? (5 posts)

  1. BlakMajikDJ
    Member
    Posted 4 years ago #

    I have been slowly building this theme from a CSS online generator (psd2cssonline.com) and so I am not as fluent with the specifics of CSS as I could be otherwise. I have this page layed out basicly the way I want it. The problem is, when you select the area above the menu, is reads in plain text "Pages".

    The code I used to call the menu is:

    <div id="navmenu">
        <?php wp_list_pages(); ?>
    </div>

    in the style sheet, i peiced together what I needed from the toutorial on horizontal menus:

    #navmenu {
    	position: absolute;
    	top: 20px;
    	left: 162px;
    	font-size:16px;
    }
    
    #navmenu ul {
    	margin: 0;
    	padding: 0;
    	list-style-type: none;
    	list-style-image: none;
    }
    
    #navmenu li {
    	display: inline;
    }
    
    #navmenu ul li a {
    	text-decoration:none;
    	margin: 0px;
    	padding: 5px 15px 5px 15px;
    	color: black;
    	background: #AFAFAF;
    }
    
    #navmenu ul li a:hover {
    	color: white;
    	background: black;
    }

    So in short, how do I get that well hidden text above the menu to go away?

    I'm editing it locally on my computer and testing it online as well. The local one is slightly different from the online one (online has a ton of pages that won't be there when completed), but for purposes of this question, you should have the idea:

    http://www.blak-majik.com/mania

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Try:

    <div id="navmenu">
        <?php wp_list_pages('title_li='); ?>
    </div>

    http://codex.wordpress.org/Template_Tags/wp_list_pages

  3. BlakMajikDJ
    Member
    Posted 4 years ago #

    Solved the problem, but the formatting I had for the menu is gone, and it reverts to default text style (which is what I am gathering from that page). I don't get what I need to change in the style.css to make it the way I want it

  4. BlakMajikDJ
    Member
    Posted 4 years ago #

    Anyone else have sugguestions?

  5. Mark / t31os
    Moderator
    Posted 4 years ago #

    Only one unfortunately..
    http://www.w3schools.com/css/

Topic Closed

This topic has been closed to new replies.

About this Topic