Category page links not working on iOS Safari

Hi, when I visit https://castillolawphoenix.com/case-successes-post/drugs/ on an iOS Safari browser the post links do not work. Sometimes the first post link does work but when I hit back it takes a few times before it returns to the Category page. Then none of the post links work.

Appreciate the assistance.

Hello @rogermedia,

Thanks for writing in! It seems that you have inserted a broken HTML code. I happen to see that you inserted this in the Topbar Content:

<div align="center" style="font-size:1.3em; padding:25px 0 0; line-height:1.1em; color:#8ecef8">
	Schedule your free consultation <a href="tel://480-206-5204"><b>(480) 206-5204</b></a> | 
	<a href="https://www.google.com/maps/search/castillo+law/@33.4708438,-112.0689503,924m/data=!3m2!1e3!4b1">2025 N 3rd St. Ste. 150 
Phoenix, AZ 85004</a> | 
	<a href="https://castillolawphoenix.com/abogado-certificado-en-defensa-criminal-en-phoenix-az/">Hablamos Español</a>
</div>

Be advised that you cannot nest <div> HTML tag inside the <p> tag which is the wrapper for the topbar content. You will have to update your content to use <span> instead.

Therefore, the acceptable HTML code for the topbar content is the following:

<span align="center" style="font-size:1.3em; padding:25px 0 0; line-height:1.1em; color:#8ecef8">
	Schedule your free consultation <a href="tel://480-206-5204"><b>(480) 206-5204</b></a> | 
	<a href="https://www.google.com/maps/search/castillo+law/@33.4708438,-112.0689503,924m/data=!3m2!1e3!4b1">2025 N 3rd St. Ste. 150 
Phoenix, AZ 85004</a> | 
	<a href="https://castillolawphoenix.com/abogado-certificado-en-defensa-criminal-en-phoenix-az/">Hablamos Español</a>
</span>

Be advised that custom coding is beyond the scope of our support under our Support Policy. If you are unfamiliar with code and resolving potential conflicts, you may select our One service for further assistance.

Best Regards.

Hi and thank you for the quick reply. Thank you also for pointing out the bad HTML practices.

I added your code and the issue persisted. I also deactivated the topbar all together and the issue still persisted.

Then I saw that one of the category pages did not have this issue and saw that that page did not have a custom .php file in the child theme altering how it was displayed. I have removed the custom php files for the other categories and the issue is gone. Time to find a better developer I guess. :crazy_face:

Thank you again for your help.

Hey @rogermedia,

You are most welcome. It’s good to know that you have figured out the cause of the issue and now the issue is resolved. We really appreciate for letting us know. Please do not hesitate to create another thread if need any other help.

Cheers.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.