• Resolved admin_michelle

    (@admin_michelle)


    I’m in the process of creating a horizontal menu bar for my website, following the instructions and guidelines provided by WordPress but for some reason (I can’t figure out why) the links doesn’t work at all…

    I would be very grateful if someone could help me with this problem (p.s I have created a child theme of the theme delicate)

    Regards

    Michelle

    This is my url

    https://test.michellehedberg.net/

    this is my html (pasted on to the header.php page)

    <div id="navcontainer">
    <ul id="navlist">
    
    <li><a>">HOME</a></li>
    <li><a href="wordpress/recipes/">RECIPES</a></li>
    <li><a href="wordpress/travel/">TRAVEL</a></li>
    <li><a href="https://www.www.ads-software.com">WORDPRESS</a></li>
    </div>

    and this is my CSS written in the stylesheet

    [CSS code moderated – the link to your site is enough to access the styles]

Viewing 2 replies - 1 through 2 (of 2 total)
  • seems to be a layer problem – the nav is covered by another div.

    try to add this
    position:relative;z-index:20;
    to the style of
    #navcontainer ul

    (only tested with firefox web developer add-on)

    Thread Starter admin_michelle

    (@admin_michelle)

    Wow it worked! : )

    I can’t tell you how grateful I am. I’m new to wordpress and would never have been able to work that out for myself. I’m a graphic designer and have some experience coding websites using html, css, divs and the 960 grid etc. but the whole structure of wordpress and the php language is so different it’s very hard to figure ‘seemingly basic things’ out sometime.

    I have one more question, as you might have gathered I’m attempting to make a website for someone and I was wondering how do you create the different web pages that the links will link to? Do I just copy the header.php and rename it (for example about.php, biography.php etc) and then place it inside the Delicate Theme map (where the current header.php is situated or do I put the new ‘link pages’ inside the child theme – in either of these cases what would the a href link be…?

    Thank you so much for your time and help

    Michelle

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘links in horizontal menu doesn't work – why???’ is closed to new replies.