I’m using the Palo Alto theme and I want a button in a text section to open in a new tab. It’s an external link to Google Maps. How can I make that work?
Topic summary
A user working with the Palo Alto theme needs a button in a text section to open an external Google Maps link in a new tab.
Initial Suggestions:
- Adding
target="_blank"attribute to the<a>tag was proposed - This approach doesn’t work because the theme’s text section buttons don’t allow direct code insertion—only CSS customization is available
Resolution:
- Modifying the theme code was suggested as the solution path
- The original poster ultimately found their own solution, though the specific implementation wasn’t shared in the thread
Status: Resolved independently by the user.
To make the button open the external link (like Google Maps) in a new tab, add the target=“_blank” attribute to the tag in your text section.
For example:
[Open in Google Maps](https://maps.google.com)
There is no way to add a code for the button of a text section. There is only CSS custom code available for a section.
This can be achieved by modifying theme code
I am aware of that. Do you have any other help that will solve my issue?
I found my solution.