-
cdiaz25Participant
Hello. I’m a big fan of this theme, but I was hoping to try out some new fonts. When I changed the font-family in the body tag in the stylesheet from “Vegur” to “Verdana,” nothing happened. I tried commenting out the @fontface code and trying different fonts until eventually it changed to “Times New Roman.” No where in the code (that I know of) does it say “Times New Roman”. I tried reloading my browser and the font stays the same, even after deleting all the code related to the font and entering it again to the original “Vegur”. Here’s what the current code is:
@font-face {
font-family: ‘Vegur’;
src: url(‘fonts/vegur-light.eot’);
src: url(‘fonts/vegur-light.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/vegur-light.woff’) format(‘woff’),
url(‘fonts/vegur-light.ttf’) format(‘truetype’),
url(‘fonts/vegur-light.otf’) format(‘opentype’),
url(‘fonts/vegur-light.svg#VegurLight’) format(‘svg’);
font-weight: normal;
font-style: normal;
}@font-face {
font-family: ‘Vegur’;
src: url(‘fonts/vegur-bold.eot’);
src: url(‘fonts/vegur-bold.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/vegur-bold.woff’) format(‘woff’),
url(‘fonts/vegur-bold.ttf’) format(‘truetype’),
url(‘fonts/vegur-bold.otf’) format(‘opentype’),
url(‘fonts/vegur-bold.svg#VegurBold’) format(‘svg’);
font-weight: bold;
font-style: normal;
}body {
background:#FFF;
color:#000;
font-family: “Vegur”, sans-serif;
font-size:16px;
line-height:18px;
}I have very basic HTML/CSS experience, so I apologize if the problem is glaringly obvious.
Do you have any suggestions, cautions, or best practices for changing the Minimatica theme’s font?
Thanks!
Daniel TaraKeymasterWhat you said above should have done it. Make sure you clear the browser’s cache before previewing the change.
Tagged: font
You must be logged in to reply to this topic.