Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Width of widget in Sidebar (http://forum.bytesforall.com/showthread.php?t=425)

HalfWayThere Feb 17, 2009 01:48 PM

Width of widget in Sidebar
 
Hi

I have added a widget from Technorati to the Right Sidebar, but it refuse to sit tidy within the 200px width. Have I set something incorrectly?

Thanks in advance,

Matt

http://matterstoday.com

Flynn Feb 17, 2009 06:11 PM

Edit the text widget content and change
HTML Code:

<td nowrap="nowrap" colspan="2"
to
HTML Code:

<td colspan="2"
And, you probably want a line after that little button as well. If so, change
HTML Code:

<a href="http://alphainventions.com">AI Traffic Test
to
HTML Code:

<br /><a href="http://alphainventions.com">AI Traffic Test

HalfWayThere Feb 18, 2009 07:56 AM

Hi Flynn

This is really confusing me - I can't find the coding that you recommend I change?

This the coding that is associated with the widget (Right Hand Sidebar - last entry):-

<script language="javascript" type="text/javascript" src="http://www.ringsworld.com/technorati_-_the_blog_community/244.js"></script>
<noscript><div align="center">This site is part of an <a href="http://www.ringsworld.com/">Internet Site-Ring Community</a> hosted at <a href="http://www.world-of-newave.com/">World of Newave</a><a href="http://www.ringsworld.com/technorati_-_the_blog_community/244-previous.html">Previous</a> - List: <a href="http://www.ringsworld.com/technorati_-_the_blog_community/#244">technorati - the blog community</a> - Home: <a href="http://www.ringsworld.com/technorati_-_the_blog_community/home.html#244">technorati - the blog community</a> - <a href="http://www.ringsworld.com/technorati_-_the_blog_community/forum.html#244">Forum: technorati - the blog community</a> - <a href="http://www.ringsworld.com/technorati_-_the_blog_community/join.html#244">Join</a> - <a href="http://www.ringsworld.com/technorati_-_the_blog_community/244-next.html">Next</a></div></noscript>

:confused:

Flynn Feb 18, 2009 02:58 PM

O.k. so it's being written by the Javascript that you include. Do you have control over http://www.ringsworld.com/technorati...mmunity/244.js ? If yes, edit what I wrote above, inside that Javascript.

If not, try as HTML/CSS Insert -> CSS Insert
HTML Code:

div#text-345683964 table td {
white-space: normal !important;
}

the number in text-12345678 may change when you remove and add that widget again. In that case you'd have to look into the source code (of the browser rendered page) and figure out the id of that text widget, look for something like

HTML Code:

<div id="text-350463651" class="widget widget_text">
You might have several of those, one for each text widget. You'd have to find the right one.

HalfWayThere Feb 18, 2009 07:07 PM

div#text-345683964 table td {
white-space: normal !important;
}

Thanks - the above coding worked a treat!


All times are GMT -6. The time now is 10:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.