• Hi Everyone,

    I would like to insert an image
    (which will also be a link when clicked on)
    so it will appear at the top of sidebar.

    How do I do it?

    Thank you.

    ~ Grace

Viewing 7 replies - 1 through 7 (of 7 total)
  • Well, I would go to ‘Presentation’ then theme editor and insert a piece of HTML into your sidebar that would look something like this: –

    <a href="where you want the link to go"><img src="the url of the image" title="title" alt="alternative text" width ="the width in px" height=the height in px"/></a>

    However, I want to know if using these height and width tags will lead to any problems on other browsers or with different resoultions? Is there a way to make an image take up the whole width of the sidebar and be scaled for height?

    Look in your theme’s style.css
    Find the sidebar comments
    Look for the width in px – images can not be wider than this or it will definitely break IE.

    Thread Starter gs06

    (@gs06)

    Thanks.

    Other items on my side bar get a bulletpoint.
    How can i cancell it so I will NOT have a bulletpoint for the image i just entered.

    Just make sure you don’t have <li> in your code.

    You can keep
    (

    • ) as long as you make sure the css states that the list type states ‘none’.
    • Better to keep the (

    • ) as its embedded in WordPress templates to display links that way.
    Thread Starter gs06

    (@gs06)

    i still get the bulletpoint icon, here is my code >

    <!– begin sidebar –>
    <div id=”menu”>
    <div id=”nav”>

    <?php wp_list_pages(‘sort_column=menu_order&title_li=<h4>’ . __(‘Learn More’) . ‘</h4>’ ); ?>

    </div>
    </div>
    <!– end sidebar –>

    What’s the code for your image?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Image / Sidebar’ is closed to new replies.