Viewing 8 replies - 1 through 8 (of 8 total)
  • Are you talking sidebar menu or navigational menu?

    If it’s for a navigational menu try this link and go from there:

    https://www.oomens.org/index.php?m=200412

    For sidebar menu image try adding this:

    <h2 id=”title”>Title</h2>

    Example:

    index.php code:

    <code>

    <body>
    <div id="page>
    <div id="content">

    <h2 id="title"><a href="https://www.yoursite.com>Title</a></h2&gt;

    </div>
    </div>
    </body>

    </code>

    Then use css to get the image:

    #title {
    background-image: url(../images/title.gif);
    }

    You can add other info to style and position the #title tag as well

    Thread Starter missychele

    (@missychele)

    I’m referring to the sidebar menu, I suppose, where links, catagories, etc. go. Is it not possible to change that?

    Sorry, for the error – I added a link to the title and I don’t think you wanted that:

    Change this:

    <h2 id="title"><a href="https://www.yoursite.com>Title</a></h2>

    To this:

    <h2 id="title">Title</h2>

    and disregard the words <code> and </code> – those tags were not supposed to show up in my post

    Thread Starter missychele

    (@missychele)

    Okay, I’ll give it a shot, but I’m not sure how I would change all of them with the code above.

    Oh, I thought you wanted to know how to do it while you were in the process of writing the code.

    Then I think you need someone who knows how to code in php and use that to add an image to all title references

    Sorry, not skilled enough to suggest that yet

    Thread Starter missychele

    (@missychele)

    I’m sorry if I confused you. I’m just not sure how to word my questions when I know such little about what I’m doing anyway;-) I’m learning as I go, but I still have very little understanding of CSS and PHP is a totally new one on me. I do appreciate you trying to help me, though;-)

    Thread Starter missychele

    (@missychele)

    I figured it out! You just need to replace the text with a link to the image in index.php. ie.
    ( ‘ links ‘ ) would change to ( ‘ https://yourdomain.com/images/image.jpg ‘ ) or whereever it is you have your images stored. There may be a better way to do this, but this seems to be working fine for me.
    Just thought I’d share what I did in case anybody else is curious.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Changing menu titles to images…’ is closed to new replies.