I'm trying to help someone fix a messed up cart in wordpress.
The add to cart button has the text crossed out.
Anyone know what can cause this?
The button appears to work as you can click on it and it goes to the cart.
robzilla
6:11 pm on Oct 3, 2018 (gmt 0)
In Chrome, right-click it and select "Inspect". This will show you the styling applied to the button, the stylesheet responsible, etc.
Lorel
7:37 pm on Oct 3, 2018 (gmt 0)
Thanks Robzilla.
I've come to the conclusion that this is a cross browser problem. Crossed out text in Firefox/red dotted line around the button on Chrome but everything looks ok on Safari.
This site has a worse problem however -- all product links in the main page of the cart are nofollowed.
not2easy
8:35 pm on Oct 3, 2018 (gmt 0)
Are the links https or http? that might cause visual signals in browsers, if they are not secure.
robzilla
8:41 am on Oct 4, 2018 (gmt 0)
Do you have any SEO extensions installed? Perhaps those are marking nofollow links, or other elements, as such.
Lorel
3:18 pm on Oct 4, 2018 (gmt 0)
not2easy - link are not https yet.
robzilla - I didn't set the site up but yes it does have an SEO plugin.
NickMNS
3:31 pm on Oct 4, 2018 (gmt 0)
I have seen this bug before. I don't remember where or why but a quick search on Stack exchange turned this up: [stackoverflow.com...]
Lorel
7:32 pm on Oct 4, 2018 (gmt 0)
Thanks for finding the link to that article NickMNS.
I checked W3c -- "only" 88 HTML errors on just the home page.
I'm helping the owner find someone to fix the site as I've rarely worked on WP. I write code by hand and WP drives me crazy.
robzilla
8:21 pm on Oct 4, 2018 (gmt 0)
robzilla - I didn't set the site up but yes it does have an SEO plugin.
I meant if you have any SEO-oriented browser plug-ins, but I guess that answers the question ;-)