Shopify themes, liquid, logos, and UX
Ive looked at other forums just cant get it to work for some reason. I can change it to sans serif but I tried the others but it wouldnt change to the selected font, it would just change to a default font.
I did this for now in my base.css file. but if i try any other font, they all look the same so it must be a default
ul.list-menu.list-menu--inline li {
margin: auto 10px;
font-family: sans-serif;
}
Solved! Go to the solution
This is an accepted solution.
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap" rel="stylesheet">
This code is working.
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Dawn theme btw
Hi @aurumlux ,
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
try this code if this code not working then provide your store URL please and if it is password protected, please share the password as well. Thanks
ul.list-menu.list-menu--inline li {
margin: auto 10px !important;
font-family: sans-serif !important;
}
it works but when i try touse the "inter" font, it doesnt work. Looks good enough with sans serif but if I could experiment with others, it would help
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<style>
ul.list-menu.list-menu--inline li {
font-family: "Inter", sans-serif ;
}
</style>
hmmm still didnt work, ill come back to this in a few days. and ill give you the link etc to look into it further
This is just 2 minutes of work, give me the URL.
https://2zvy3oanyov0npib-89242534237.shopifypreview.com
ignore rest of the pages lol, ive just started working on it
This is an accepted solution.
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap" rel="stylesheet">
This code is working.
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
"If it still doesn't work after the solution provided above, try this; it will make the Inter font work."
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024