All text sections on my pages have become links to another page

  • 1
  • Problem
  • Updated 7 years ago
  • Solved
Until today, I had a partially- finished website that had the normal page-links at the top, but I wanted them to be larger. I removed the pages from the menu bar and installed a group of HTML links between pages, which looked good. But then I found that all text sections of all the pages (i.e. not HTML) had become large links to one of my pages.
The website address is thegoodolddays.yolasite.com
Photo of Philip Taylor

Philip Taylor

  • 355 Posts
  • 66 Reply Likes
  • confused

Posted 7 years ago

  • 1
Photo of Stefan

Stefan, Official Rep

  • 4448 Posts
  • 190 Reply Likes
Hello Philip

I have browsed your site (nice custom navigation menu!), but I cannot confirm what you posted above. None of text paragraphs are linked, it's only your menu items and pictures. I may have overlooked the page affected. Could you please tell me on which page this happens? And describe to me what you don't want be a link? Thanks.
Photo of Philip Taylor

Philip Taylor

  • 355 Posts
  • 66 Reply Likes
Thanks Stefan.
Seems to be only in edit mode. It's happening on every page. Just general text paragraphs are ALL blue and underlined while editing and when I try to edit them I get transferred to the Contents page (I've removed all the links that were on that page although they were outgoing links).
Photo of Stefan

Stefan, Official Rep

  • 4448 Posts
  • 190 Reply Likes
Hello Philip

I think I've found the error. I was suspecting that marking everything else on the page as a link will most probably mean that the a tag hasn't been closed somewhere further up on the page.

I was able to locate the issue: In your custom navigation, the last a tag hadn't been closed, and I added the closing </a> tag to your code. Now everything seems to be fine on that page.

I did that on your index page. You will need to add the closing tag to each page where you put your custom navigation.
Photo of Philip Taylor

Philip Taylor

  • 355 Posts
  • 66 Reply Likes
Brilliant ! Thanks a million, Stefan, you're right.
I feel so stupid... I made the menu on one page then copied it to all the others, including the error you found. I looked for that kind of error but didn't even spot it then.