Skip to content

Commit 51ca8f7

Browse files
Line order instruction about Lobster font
Adding a hint as to the order of the addition of the lobster font to the CSS. If the new line is inserted after the link to `blog/static/css/blog.css` then the font doesn't change. We (with @maxwell-k) noticed this at the second Belfast DjangoGirls event.
1 parent e742ba3 commit 51ca8f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

en/css/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ Maybe we can customize the font in our header? Paste this into your `<head>` in
152152
<link href="//fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext" rel="stylesheet" type="text/css">
153153
```
154154

155-
This line will import a font called *Lobster* from Google Fonts (https://www.google.com/fonts).
155+
As before, check the order and place before the link to `blog/static/css/blog.css`. This line will import a font called *Lobster* from Google Fonts (https://www.google.com/fonts).
156156

157-
Find the `h1 a` declaration block (the code between braces `{` and `}`) in the CSS file ``blog/static/css/blog.css`. Now add the line `font-family: 'Lobster';` between the braces, and refresh the page:
157+
Find the `h1 a` declaration block (the code between braces `{` and `}`) in the CSS file `blog/static/css/blog.css`. Now add the line `font-family: 'Lobster';` between the braces, and refresh the page:
158158

159159
```css
160160
h1 a {

0 commit comments

Comments
 (0)