Hi everyone, I am making a new upgrade to my store, and just bought Stiletto Theme
Anyone who can help with some liquid coding, so I can get this button from my old website transferd/ coded into my new website? The old liquid coding I used, does not work in this new theme.
- Position, color, title and sky logo should be the same as in my old webshop (see following link)
https://www.melchiorjewelry.com/products/aaa-oreringe-10
- The button should link to this site:
https://onskeskyen.dk/da/wishlists/my
Thank you very much. I really hope someone can help!
This in my updated and new webshop, where I want the button to be in
https://q3xb6c8e96dydt9j-57068945600.shopifypreview.com/collections/alle-smykker/products/aaa-oreringe-10
(Preview only available in two days)
- In the code editor, find and open the product-template.liquid file under the “Sections” directory.
- Look for the place where you want to add the button. It could be within the element or anywhere you want it to appear.
- Add the following HTML code at the desired location:
[Custom Button](https://onskeskyen.dk/da/wishlists/my)
​
- Now, open the theme.scss.liquid file under the “Assets” directory.
- Add the following CSS code to style the button:
.my-custom-button {
display: inline-block;
padding: 10px 20px;
background-color: #00a0d6;
color: #fff;
text-decoration: none;
font-weight: bold;
}
​
Hi @NomtechSolution , thanks for your reply! I dont have a file called “product-template.liquid”
Can you see which one of these I should use?
@NomtechSolution Hi, are you there? Have you read my previous message? Where to put the code you made - I dont have a file called “product-template.liquid”
Can you see which one of these I should use? Thank you very much!