Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

My portfolio page font is different from my about and contact pages how can I fix this?

my fonts are not matching my header in my portfolio to my headers on my contact and about pages?

i've looked everywhere to change the fonts here is the code I used for my H1

h1 { font-family: 'Ek Mukta', sans-serif; margin: 15px 0; font-size: 2.5em; font-weight: normal; line-height: 0.6em; }

both my about and contact pages are good its just my portfolio page has an entirely different font and spacing.? where should I look to change this?

Hey Tony Brown,

You should post your code for the HTML page. You can do that like so:

code

4 Answers

Are you linking to the stylesheet correctly on each page?

How do i make sure the stylesheet is correct on each page?

check the head section of your html page and make sure you have

<link rel="stylesheet" type="text/css" href="style.css">

your css file name might be different though so just change it to whatever you named your file and if it's in a css folder put css/style.css

thanks Im going to double check.