Help! My text widget is not working
-
I have been putting buttons along the right column. All was going well and then as I was adding more buttons by copying and pasting the link from the appropriate website, the entire link would not paste into the text widget box. It would only show half of the html code. I would then correct it, press Done and Save Changes. I would check my blog and the button would show as a box with an ‘X’. I go back to check the html code in my text widget box, and again it is missing the later half of the link. How do I correct this??
Thank you!!The blog I need help with is: (visible only to logged in users)
-
Thank you – here it is:
<a href="http://www.momlovestoday.com/2008/10/mom-loves-cart-stopper-protector-of.html" target="_blank"><center><img border="0" alt="Mom Loves Today" src="http://i469.photobucket.com/albums/rr57/momlovestoday/mlb_badge.png"/></center></a> -
WordPress isn’t liking the code the way you have it written. What I did was to put it into a draft post and wordpress stripped out the centering. I then added the centering back via the post editor in and the following code works.
<a href="http://www.momlovestoday.com/2008/10/mom-loves-cart-stopper-protector-of.html" target="_blank"><img class="aligncenter" src="http://i469.photobucket.com/albums/rr57/momlovestoday/mlb_badge.png" border="0" alt="Mom Loves Today" /></a>Not the “class=”aligncenter” in the img src section rather than the standard HTML center command.
-
-
Wow, it amazes me how you know that! Thank you so much. I have a few more I am having the same problem with. I will see if I can fix them following your example here.
One more question for you: I have noticed that some of the buttons will have spacing under them, while others align themselves just under the previous button. How do you fix the differences in spacing? I would prefer no spacing as I will be adding more and more of these buttons.
Thank you!! -
-
If you’re designing a text widget, I just write mine like a draft Post, so I’ve got all the formatting buttons and so on, then when it’s ready I click to the HTML side, copy the code, and paste that in the text widget.
-
Try wrapping the code in “p” tags as I have below. That will put a blank line inbetween them.
<p>a href="http://www.momlovestoday.com/2008/10/mom-loves-cart-stopper-protector-of.html" target="_blank"><img class="aligncenter" src="http://i469.photobucket.com/albums/rr57/momlovestoday/mlb_badge.png" border="0" alt="Mom Loves Today" /></a></p>And Raincoaster’s suggestion is a good one. I can do HTML, but it is so much easier to do it in the visual editor and then just copy and paste the code.
-
Thank you both! I tried your suggestion Raincoaster and I got two more links up that way! Thanks a bunch – didn’t know of that little trick. I am still having troubles with some of the buttons on these review blogger pages. I am going to ask them to just send me the image so that I can use the draft Post method.
Thanks again, I really appreciate it!! -
- The topic ‘Help! My text widget is not working’ is closed to new replies.