Tagged: x
-
AuthorPosts
-
December 19, 2016 at 5:12 am #1298001
giannisdallasParticipantHello dear support,
I am developing http://greatnorthernfood.com/.
Everything is validated and up to date.
Some of the footer text widget <p>s are wrapped inside anchor tags. Is there a way to avoid that. For some reason, the last paragraph is not wrapped inside an anchor. Is there a way to completely disable this feature?
Thank you very much,
GiannisP.S. Keep up the good work, can’t wait for the X5 update.
December 19, 2016 at 5:13 am #1298002
giannisdallasParticipantThis reply has been marked as private.December 19, 2016 at 5:55 am #1298036
ChristopherModeratorHi there,
You’ve added anchor tag in your HTML code, please see an example :
<p style="font-size:14px">Want to Join Us?</p> <a style="font-size:14px" href="http://meyersusa.com/">Learn More </a>If you’re referring to ‘Press’ widget, please add
#in its URL field.Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
Hope it helps.
December 19, 2016 at 8:12 am #1298141
giannisdallasParticipantHello Christopher and thank you for the fast reply,
I am sure that I have not added any anchors in the text widgets.
For example
<p style="font-size:14px">Coming Soon</p>generates<p style="font-size:14px"><a>Coming Soon</a></p>Same thing with “Want to Join us”. It is wrapped as
<div class="textwidget"> <a><p style="font-size:14px">Want to Join Us?</p></a><p><a></a><a style="font-size:14px" href="http://meyersusa.com/">Learn More </a></p> </div>As you can see there is something clearly not right in the generated HTML.
I just want the phrases ‘Coming Soon’ & ‘Want to Join us’ to be simple <p>s exactly like the ‘Address’ widget underneath them.
Hope that clears thing up.
Thanks again,
GiannisDecember 19, 2016 at 9:09 am #1298222
LelyModeratorHello Giannis,
Usually this happens if you have left an open link tag. For example if you have
<a href="">without the closing</a>. I did check your code and I found the culprit. It’s the content of your footer 2 widgets:<p><a style="font-size:14px" href="mailto:[email protected]">General<a/></p> <p><a href="mailto:[email protected]" style="font-size:14px" >Press<a/></p> <p><a href="mailto:[email protected]" style="font-size:14px">Careers<a/></p> <p><a href="mailto:[email protected]" style="font-size:14px">Catering<a/></p>As you can see, instead of
</a>, you have<a/>. Since it is wrong, it is considered missing closing link tag. It will then look for it’s partner closing link tag and in turn make all text link until the closing tag is found.Same with
<p style="font-size:14px"><a href="https://ecommerce.custcon.com/Selection.aspx?c=2bf1b8a0-0919-4082-8cf8-e69bd37b838f"> Check our exceptional offers<a/></p>
Link closing tag is wrong.I have update both of them with the correct closing
</a>and it is now working as expected.Cheers!
December 19, 2016 at 9:18 am #1298224
giannisdallasParticipantHi Lely,
Ah, feeling like an idiot. Thank you for fixing my code.
Giannis
December 19, 2016 at 9:49 am #1298270
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1298001 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
