Comments (3)
Lanyon uses web fonts from Google Fonts. Both PT Sans (the default font for Lanyon) and Open Sans are on Google Fonts, so you can still use Google fonts, though we will have to switch what fonts are loaded and update our CSS.
This line of HTML includes the CSS file for the PT Sans web font so that we can use it in our CSS. If you pick Open Sans on Google Fonts, they will give you a line of HTML (under "3. Add this code to your website:") that you can replace that line with to load Open Sans instead of PT Sans and PT Serif. Now, we will have to modify this in our CSS to tell the browser what text we want displayed in Open Sans. The font-family
property in CSS is used to set fonts (and fallback fonts) for different elements on the page. Now we edit lanyon.css to replace all lines with font-family
to use the CSS code that Google Fonts gave us under "4. Integrate the fonts into your CSS:".
from lanyon.
That works. Thank for clarifying!
from lanyon.
this helped me greatly. Thnx guys!
from lanyon.
Related Issues (20)
- Confirm absolute_url vs relative_url when mixed with url
- Static assets can't be found when using theme as remote theme on GH Pages HOT 1
- Display posts title and meta only on the home page HOT 3
- Sidebar in overlay mode briefly becomes transparent when closing HOT 3
- 404 error on /public/js/script.js
- Relate posts in a better way HOT 1
- I found `{{ post.excerpt }}` and it does what I wanted. Thanks anyway!
- [Question] Just wanna ask if theme support Google Analytics? HOT 1
- Links zu older Posts returning github domain HOT 1
- Don't include file on sidebar HOT 1
- Home on sidebar
- Switch order of "Older" and "Newer" navigational buttons HOT 1
- Best way to show posts in excerpt view on index.html (Home)
- change the "Open an issue" link to lanyon instead of poole
- SASS version
- Layout Does Not Appear Responsive On Small Viewports
- Support Remote Theme
- Style not rendered when hosting on Github Pages [#237] HOT 2
- NoMethodError HOT 1
- GitHub pages setup feedback HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lanyon.