Solved

ERROR WITH LINKS IN DIFFERENT DEVICES

  • 26 November 2021
  • 6 replies
  • 28 views

Hi, I have problems with some buttons and category widgets. The links of some of them, function on the desktop but not on the mobile and vice-versa.

This is the site with the issue: https://sasinteriorismo.wpcomstaging.com/

Examples:

The links from these buttons from the home page don´t work on the desktop, but do work on the mobile:

https://snipboard.io/ZMDzNa.jpg

https://snipboard.io/MIuE50.jpg

 

Please Help!!

icon

Best answer by Alex Skripnikov 26 November 2021, 07:52

View original

6 replies

Userlevel 2
Badge +2

Your images overflow the button, see the screenshot below. I think same happens in mobile version. 

 

 

You have negative values for top and bottom margins, that causes the problem 

 

Thank you so much!! Indeed that was the problem for non-functioning buttons. On the other hand, I still have problems with the links of some buttons and category widgets.

Specifically:

  1. These buttons direct to the correct link on the desktop, which is the category template I created, but for some reason, they direct to the home page on the mobile ( I haven´t proven it on a tablet): https://snipboard.io/Qlg5yq.jpg
  2. The same happens with this category widget, each category box, directs correctly on the desktop, but for some reason, also redirects to the homepage: https://snipboard.io/pG73oc.jpg

I am using the redirection plugin for the category templates, I don´t know if it has a relation with the problem.

Please help!!

Userlevel 2
Badge +2

Thank you so much!! Indeed that was the problem for non-functioning buttons. On the other hand, I still have problems with the links of some buttons and category widgets.

Specifically:

  1. These buttons direct to the correct link on the desktop, which is the category template I created, but for some reason, they direct to the home page on the mobile ( I haven´t proven it on a tablet): https://snipboard.io/Qlg5yq.jpg
  2. The same happens with this category widget, each category box, directs correctly on the desktop, but for some reason, also redirects to the homepage: https://snipboard.io/pG73oc.jpg

I am using the redirection plugin for the category templates, I don´t know if it has a relation with the problem.

Please help!!

Just disable the redirection plugin and check if it works. I think this plugin causes the problem.

Thanks, yes, the redirection plugin is the problem.

Userlevel 2
Badge +2

Thanks, yes, the redirection plugin is the problem.

The problem solved then) 

So, redirection plugin really didn´t had any problem. The real problem was that I was using a URL form a template, instead of a page, that was why the redirection was not working, as the plugin only works with URL of pages.

Reply