Am stuck on CSS 7.3 about the font-size: 2rem;. Any help


#1


body {
	height: 100%;
	margin: 0;
	text-align: center;
	width: 100%;
}

h1 {
	font-size: 32px;font-family: Palatino, 'Palatino Linotype', serif; color: rgb(46,105,163); Chocolate;
}

h2 {
	font-size: 56px;
}


.hero {
  font-family: 'Trebuchet MS', Helvetica, sans-serif;
  }
	padding: 250px 0;
	margin: 30px;


p {
 font-size: 2rem;
}

.hero a {
	color: #00FFAA;
	font-size: 24px;
	text-decoration: none;
}


#2

Please paste in your code so we can help you


#3

Please i have sent the code, still waiting for help. Thanks


#4

Sincerely, I have no idea why but I switched to chrome. I was using safari. Then I copied and pasted the code they had:
"font-size: 2rem; " (I think i was missing the colon which I see in yours...) Anyways give it a shot, ctrl-c, ctrl-v. and it worked!


#5

What error are you getting ?

Please check your zoom and make sure its on 100%


#7

Hi there

I am also stuck on this 2rem. I followed the above and put in

p {
font-size: 2rem;
}

but it still doesn't seem to work?


#8

I am having the very same problem. All things consistent with the code posted above. tried copy paste. tried manual entry. nothing


#9

Try refreshing the page or switching browsers,

If your'l don't post in your full code I can't find the problem


#10

i did that 2 days ago and it didn't work!!!


#11

I know what to do!!
in main.ccs
find this: hero p {
padding: 250px 0;
margin: 30px;
}
[if they don't have the brackets just add them as i did]
Under hero p add the font-size: 2rem;

Tell me if it works! :slight_smile:


#12

You have hero p its supposed to be .hero p


#13

oops! but yes it is that :disappointed_relieved:


#14

This topic was automatically closed after 7 days. New replies are no longer allowed.