how to add an icon > or a drop down box to the sidebar
-
How can an icon be added to the sidebar?
How can a drop down box be added to the sidebar?
The blog I need help with is: (visible only to logged in users)
-
Image or icon in sidebar:
http://support.wordpress.com/widgets/text-widget/#adding-an-image
Drop down box:
No can do.
(The only available ‘drop down box’ is the categories widget) -
-
You can add a scroll bar to your sidebar…
<div style="height:120px;width:230px;white-space:pre-wrap;overflow:auto;">text here</div>You’ll have to adjust the width depending on your theme, but you can also adjust the height depending on how much of the text/photo you want visible. You can also format the text if you’d like to…
Hope it helps.
-
Thanks, yes it sure does.
I’m using the icon as a link, and will take a look at the bar.
-
@feartheseeds
Good point. Not a drop down box as such, but it may save some space compared to a full list. -
It’s not scrolling, and there’s a space underneath it.
<div style="height:120px;width:230px;white-space:pre-wrap;overflow:auto;">
6 week schedule <img src="http://nina80.files.wordpress.com/2009/07/pdficon3.jpg">
</div> -
That didn’t show it right.
li
a href="http://nina80.wordpress.com/2009/07/20/schedule/"
div style="height:120px;width:230px;white-space:pre-wrap;overflow:auto;"
6 week schedule
img src="http://nina80.files.wordpress.com/2009/07/pdficon3.jpg"
/div /a /li(brackets removed)
-
-
-
Glad it worked for you. You’ll need to adjust the width a little. You also put the image link where the text is as well… this is how I put one in my sidebar (I’m using a link to your image):
`<div style=”height:120px;width:230px;white-space:pre-wrap;overflow:auto;”><img width=”170″ src=”http://nina80.files.wordpress.com/2009/07/location1.jpg” height=”240″ class=”reflect” /></p></div>’
If you want to post code in the forum just add a tick before and after, it’s the mark under the ~ on the top left of your keyboard.
- The topic ‘how to add an icon > or a drop down box to the sidebar’ is closed to new replies.