WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] how to make something i've added look like the rest of the menu! (6 posts)

  1. Chris777uk
    Member
    Posted 6 years ago #

    hi everyone

    This forum has been a massive help to me already so thank you to those who help noobs like me

    Basically check out http://www.chrissayburn.com i want the "take me home" bit underneath the home section to look like the menu section with the > and grey highlight when you over over it - does anyone know what code to add?

    Thanks

    Chris

  2. Chris777uk
    Member
    Posted 6 years ago #

    oh and the dotted line too :)

  3. Chris777uk
    Member
    Posted 6 years ago #

    sorry to be a pain but any help would be appreciated

  4. roganty
    Member
    Posted 6 years ago #

    You just need to look at the source code to see what to do...

    <div id="sidebar">
    </ul>
      <h2>
        Home  </h2>
      <ul>
    <a href="http://chrissayburn.com/">Take me home</a>
    
     </ul>
    </h2>
    <ul>
          </ul>
      <h2>
        Menu  </h2>
      <ul>
        	<li class="cat-item cat-item-8"><a href="http://chrissayburn.com/category/challenge/" title="View all posts filed under Challenge">Challenge</a>
    </li>
    [cut]
      </ul>

    This is what you want it to look like
    <li><a href="http://chrissayburn.com/">Take me home</a></li>
    I've just wrapped the link in <li> tags

    As a side note, have a look at the source code, because tags used in the sidebar are not nested correctly.
    You've got empty tags, and tags that end but don't start!

    Hope it helps

  5. Chris777uk
    Member
    Posted 6 years ago #

    Brillaint thanks - cant believe its just something as simple as that

    re: the side note i've not got a clue about html so dont know what starts and ends where!

  6. elDeuce
    Member
    Posted 6 years ago #

    <tag> starts
    </tag> ends

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags