Putting a box around a widget
-
Hello, I’d like to put a box around just one of the widgets in my sidebar. Can anyone help? I’m using 2010 theme.
The blog I need help with is: (visible only to logged in users)
-
If you are talking about a border around a text widget, then here is a post about how to code borders in html:
http://wpbtips.wordpress.com/2009/10/14/borders-pt-1/Of course you want it to fit properly in your sidebar:
http://wpbtips.wordpress.com/2010/01/11/sidebar-width/
Twenty Ten sidebars 200, footers 220Sample of a black line around a text widget:
<div style="border:1px solid #000000;width:200px;padding:.2em;">CONTENT HERE</div>
-
-
- The topic ‘Putting a box around a widget’ is closed to new replies.