Footer: direct page link (dawn theme)

Solved
10xfuel
Explorer
67 0 5

Hi! How can I link "ABOUT" in the footer section directly to this page: 
https://www.10xfuel.com/pages/about

 

Website is: www.10xfuel.com

 

10xfuel_0-1696301544021.png

 

thank you!

 

Accepted Solution (1)
PageFly-Theodor
Trailblazer
200 32 37

This is an accepted solution.

Hi @10xfuel,
This is Theodore from PageFly - Shopify Page Builder App.
For solving the problem about the footer direct page link, let’s try this solution:
Online Store ->Theme ->Edit code
Layout -> Theme.liquid

 

 

    <script>
// Get the button element 
const redirectButton = document.querySelector('.footer-block__heading');

// Add a click event listener to the button
redirectButton.addEventListener('click', function () {
    // Define the URL you want to redirect to
    const redirectUrl = 'https://www.10xfuel.com/pages/about'; // Replace with your desired URL

    // Redirect to the specified URL
    window.location.href = redirectUrl;
});
    </script>

 

 


I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.
Best regards,
Theodore | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Reply 1 (1)
PageFly-Theodor
Trailblazer
200 32 37

This is an accepted solution.

Hi @10xfuel,
This is Theodore from PageFly - Shopify Page Builder App.
For solving the problem about the footer direct page link, let’s try this solution:
Online Store ->Theme ->Edit code
Layout -> Theme.liquid

 

 

    <script>
// Get the button element 
const redirectButton = document.querySelector('.footer-block__heading');

// Add a click event listener to the button
redirectButton.addEventListener('click', function () {
    // Define the URL you want to redirect to
    const redirectUrl = 'https://www.10xfuel.com/pages/about'; // Replace with your desired URL

    // Redirect to the specified URL
    window.location.href = redirectUrl;
});
    </script>

 

 


I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.
Best regards,
Theodore | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.