[Resolved] Urgent: Buttons Stopped Working ecom

Home Forums Support [Resolved] Urgent: Buttons Stopped Working ecom

Home Forums Support Urgent: Buttons Stopped Working ecom

  • This topic has 8 replies, 2 voices, and was last updated 6 years ago by Tom.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #545573
    Rylan Urban

    The buttons in pages and sidebar have stopped linking to appropriate content. No html or css was changed.

    https://haritaki.org/

    Can you please let me know the issue? They have been working fine for years!

    #545579
    Tom
    Lead Developer
    Lead Developer

    Where are they supposed to link to?

    GP itself doesn’t have any control over your content, including links. Perhaps you have some javascript on the page changes the links?

    #545589
    Rylan Urban

    They are just supposed to link somewhere… the buttons suddenly stopped working is what I’m trying to say.

    This no longer works:

    <p style=”text-align: center;”><button class=”custom-button”>View Our Selection</button></p>

    #545590
    Rylan Urban

    <p style="text-align: center;"><button class="custom-button"><a href="https://haritaki-yogic-super-brain-food.myshopify.com/">View Our Selection</a></button></p>

    #545594
    Tom
    Lead Developer
    Lead Developer

    The buttons are linking to the page in your code above for me: https://www.screencast.com/t/bvgcC6kwKq

    #545626
    Rylan Urban

    Very strange, but thanks for your help.

    We got an email from a visitor saying that the button doesn’t work. They also don’t work on my computer (firefox or internet explorer) but it does work on chrome.

    Any suggestions for amending cross browser differences? It seems strange because it’s just a simple css/html button.

    Rylan

    #545630
    Tom
    Lead Developer
    Lead Developer

    Instead of using <button>, I would just use a link:

    <a class="button" href="#">My button</a>

    Might be better across all browsers.

    #545643
    Rylan Urban

    Awesome, thanks again,

    Rylan

    #545777
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.