• Crazy. Something new to me. Placed an image at the end of a line. Made the image a link. It links and colors the preceding text in that line no matter what I do, except break the line so the image goes on the next line.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Can you post a link to the page in question?

    Thread Starter samgallo

    (@samgallo)

    Is the issue with the small “click here” image in the lower section of the page? It has CSS styles from here:

    .imageSeven {
        background-color: #FFFFFF;
        border: 1px solid #CCCCCC;
        box-shadow: 0 0 7px #CCCCCC inset;
        padding: 7px;
    }

    is that what you don’t want?

    Thread Starter samgallo

    (@samgallo)

    Yes. I just want the link to be the (image), but the words “Click for the Gallo World Family Foundation:” are also linked. It’s like the line should be:

    Click for the Gallo World Family Foundation: (image)

    But, whatever I do, the whole line is linked.

    There is an a tag around the text as well.

    <a title="Church Scene" href="" http:="" www.conservativepartyusa.org="" home="" religion="" "="" style="font-size:20px;">Click for the Gallo World Family Foundation: </a><a href="https://galloworldfamily.org"><img class="alignnone size-full wp-image-164 imageSeven" alt="next" src="https://www.santamariafrancesca.org/wp-content/uploads/2007/06/next.png" height="28" width="29"></a>

    Remove the a tag before the “Click for…” text, and remember to remove the closing tag after “Foundation:”

    <a title="Church Scene" href="" http:="" www.conservativepartyusa.org="" home="" religion="" "="" style="font-size:20px;">
    Thread Starter samgallo

    (@samgallo)

    I know it must be there, but what you are pointing to has nothing to do with this website. It has to be some stray code from a copy & paste I used. Where are you looking? I’m looking at the “Page” called home. Is there a view in WordPress that I don’t know about. I’m looking at the “text” view. Is there a html view?

    You can use “view source” in a browser to see the rendered HTML for a page.

    Thread Starter samgallo

    (@samgallo)

    I search everywhere for the stray code and did find a couple of places that I edited. But it still didn’t help. Finally, I unlinked the complete line, then placed a close tag before “Click” and relinked the image and it worked. Thanks for your help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Break a link from being a link’ is closed to new replies.