WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Text widget overriding other sidebar widgets

[Resolved] Text widget overriding other sidebar widgets

  • On my website (www.wpspandc.com.au) which uses the Pinboard theme, I am using the Sidebar on the homepage, which contains my latest posts (i.e. is not a static page).

    I have created a Text Widget for our sponsor (a local real estate agent) and inserted it in the Sidebar Top. Clicking on the McGrath logo in my Text Widget takes you to the McGrath website.

    However, I’m finding that clicking on ALL other items in the sidebar (like “Your Shopping Cart” or the “Subscribe” button) also take you to the McGrath website, instead of to where it should. If you hover the mouse over the other sidebar widgets, you can see the McGrath URL as the target URL.

    Is this a problem with the widget, or the theme???

    FYI, my Text Widget is as follows:

    <strong><span style="color:black">Proudly Sponsored by by John McManus and Adam Wong of  McGrath Real Estate</span></strong>
    <p></p>
    <a href="http://www.mcgrath.com.au"><img src="http://www.wpspandc.com.au/wp-content/gallery//McGrath-Logo_small.jpg"/></a>
Viewing 4 replies - 1 through 4 (of 4 total)
  • Code looks ok, except for your empty <p></p>. Use CSS to create vertical white space if needed, or a break for just one line.

    Can you provide a link to the website itself, so that we can see the code in context?

    you code posted here looks ok, but in your site you seem to have ommitted the closing link tag: </a>

    this is what I see if I view the html code in teh browser:

    <strong><span style="color:black">Proudly Sponsored by by John McManus and Adam Wong of  McGrath Real Estate</span></strong>
    <p></p>
    <a target="_blank" href="http://www.mcgrath.com.au"><img src="http://www.wpspandc.com.au/wp-content/gallery//McGrath-Logo_small.jpg"/>

    Thank you SO MUCH alchymyth. You are an absolute genius!!!!! The missing tag was the problem. I am so grateful, thank you again.

    (Duh, I didn’t see your site address in your original post since it didn’t stick out as a link to me, sorry!!)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Text widget overriding other sidebar widgets’ is closed to new replies.
Skip to toolbar