WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Text widget overriding other sidebar widgets (5 posts)

  1. WPSADMIN
    Member
    Posted 1 year ago #

    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>
  2. Jess
    Member
    Posted 1 year ago #

    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?

  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    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"/>
  4. WPSADMIN
    Member
    Posted 1 year ago #

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

  5. Jess
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic