Shopify themes, liquid, logos, and UX
I am trying to add a button on prestige theme, it seems like the only way to add a link to another page on my site is by using a hyperlink, but it doesn't look anywhere as good as a button would. Any help is appreciated.
Solved! Go to the solution
This is an accepted solution.
You have to click the </> button at the top right corner and in the anchor tag add the following code:
class="Button Button--primary"
and your hyper link will be converted into button
Do not forget to remove the following style from your anchor tag:
color: rgb(0, 0, 0);
The final code for your anchor tag will look like this:
<a href="https://account.freshmansarchive.com" title="Submit a return request" style="background-color: rgb(255, 238, 94);" class="Button Button--primary">SUBMIT A RETURN REQUEST</a>
If you are having difficulty working with code, let me know and I can do it for you.
Hi @freshmansarchiv would you please share some screenshot where you are trying to add button?
You can use prestige theme button classes to make it look like other buttons used in your theme or apply some custom css.
Hi Abdul, I am wanting to do this in the return page. I have attached a screenshot, I am wanting to change 'Submit a Return Request' in to a button rather than a hyperlink.
Can you please share the url of this returns page?
This is an accepted solution.
You have to click the </> button at the top right corner and in the anchor tag add the following code:
class="Button Button--primary"
and your hyper link will be converted into button
Do not forget to remove the following style from your anchor tag:
color: rgb(0, 0, 0);
The final code for your anchor tag will look like this:
<a href="https://account.freshmansarchive.com" title="Submit a return request" style="background-color: rgb(255, 238, 94);" class="Button Button--primary">SUBMIT A RETURN REQUEST</a>
If you are having difficulty working with code, let me know and I can do it for you.
Hi @freshmansarchiv, if my solution solved your problem then do not forget to hit the like button.
Thanks
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025