menu shows all pages

Forums Forums Menus menu shows all pages

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #362
    Ian
    Member

    am learning php so be gentle with me …<img decoding=” title=”Smiley” />

    i had
    [code:3eu14yzj]<div id="nav" class="clearfix">
    <ul>
    <li><a href="<?php echo get_settings(‘home’); ?>/">Home</a></li>
    <?php wp_list_pages(‘depth=1&title_li=’); ?>
    </ul>
    </div>[/code:3eu14yzj]
    and replaced it with

    [code:3eu14yzj]<?php if (function_exists(‘suckerfish’)) {suckerfish();} ?>[/code:3eu14yzj]

    (inbetween <ul> tags … menu does not roll over and shows all pages … (busted in other words) … basically … where do i put
    <?php if (function_exists(‘suckerfish’)) {suckerfish();} ?>

    and what do i delete…

    sorry for being dumb … bit of a learning curve!

    thanks for any help anyone can offer

    EDIT by Ryan: placed code inside [html][code:3eu14yzj][/html] tags.[/size][/code:3eu14yzj]

    #3669

    I need a link to your site before I can help properly.

    What you did looks fine, but I guess there is something else on the page which is causing problems for you.

    [quote:1thhggj8]am learning php so be gentle with me[/quote:1thhggj8]

    Me too. Fortunately your problem is not PHP related <img decoding=” title=”Smiley” />

    #3670
    Ian
    Member

    opps

    url          http://www.balesrus.co.nz

    thanks

    #3671

    Bay of Plenty eh? Good to see some fellow kiwis in the web design world <img decoding=” title=”Smiley” />

    I recommend avoiding specifying generic list items etc. in your style sheet as it tends to cause problems later on. By adding the following code to the end of the CSS for the plugin I was able to get it working fine.

    [code:2x9ciwqm]li {
    margin-left: 0; list-style-image:url(”)
    }[/code:2x9ciwqm]

    The following code should place the menu where (I assume) you want the menu to be (I’ve left your original menu in comment tags so you know what needs to be removed):

    [code:2x9ciwqm]
    <div class="header">
    <h1><a href="http://www.balesrus.co.nz"></a></h1>
    </div>

    <?php if (function_exists(‘suckerfish’)) {suckerfish();} ?>

    <!–<div class="navigation">
    <a href="http://www.balesrus.co.nz/?page_id=26">Home</a>

    <a href="http://www.balesrus.co.nz/?page_id=3">Products</a>
    <a href="http://www.balesrus.co.nz/?page_id=9">About Us</a>

    <a href="http://www.balesrus.co.nz/?page_id=29">Other Services</a>
    <a href="http://www.balesrus.co.nz/?page_id=13">Contact Us</a>
                              <a href="http://www.balesrus.co.nz/?page_id=17">Order Form</a>
    <div class="clearer"><span></span></div>

    </div>–>
    [/code:2x9ciwqm]

    #3672

    Hang on a minute. You said you ‘all pages’ were showing. Did you enter any CSS into the admin page? You currently have nothing in there, which would explain why the menu is not displaying anything.

    You need to either code the CSS yourself, or go grab some CSS from the generator … https://geek.hellyer.kiwi/suckerfish_css/

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.