Comments on: font-style https://css-tricks.com Tips, Tricks, and Techniques on using Cascading Style Sheets. Thu, 12 Jul 2018 09:25:32 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: font style https://css-tricks.com/almanac/properties/f/font-style/#comment-1648651 Thu, 12 Jul 2018 09:25:32 +0000 http://css-tricks.com/?page_id=22040#comment-1648651 when I use in my wordpress theme css it always comes out bold. tried !Important as well. but still the same. anyone has any idea. its not the main style.css

]]>
By: posthumanist https://css-tricks.com/almanac/properties/f/font-style/#comment-1615700 Mon, 05 Feb 2018 05:00:38 +0000 http://css-tricks.com/?page_id=22040#comment-1615700 thank you Louis!

]]>
By: Louis Lazaris https://css-tricks.com/almanac/properties/f/font-style/#comment-1615691 Sun, 04 Feb 2018 20:52:41 +0000 http://css-tricks.com/?page_id=22040#comment-1615691 In reply to posthumanist.

You have to define that in your CSS.

p {
  font-family: Menlo, sans-serif;
}

h1, h2, em {
  font-family: Arial, sans-serif;
}

That’s one way to do it, but it also depends on what else is in your stylesheet.

]]>
By: posthumanist https://css-tricks.com/almanac/properties/f/font-style/#comment-1615665 Sat, 03 Feb 2018 17:34:22 +0000 http://css-tricks.com/?page_id=22040#comment-1615665 Hi! Louis I would like to use Menlo for the normal paragraph text but a different font (Arial) for italic text and H1 H2 etc but i can’t seem to figure out the code. Can you point me in the right direction??
Many thanks
johannes

]]>
By: Margaret Munnelly https://css-tricks.com/almanac/properties/f/font-style/#comment-1601666 Sun, 22 May 2016 19:21:02 +0000 http://css-tricks.com/?page_id=22040#comment-1601666 I can’t change my email font — getting bold.

]]>
By: Louis https://css-tricks.com/almanac/properties/f/font-style/#comment-1596338 Sat, 08 Aug 2015 03:24:31 +0000 http://css-tricks.com/?page_id=22040#comment-1596338 In reply to Geej Mauriva.

Hi Geej,

The reason that’s happening is because you are you using a font called “Muli”, which is this one:

http://www.fontsquirrel.com/fonts/muli

That’s only the regular Muli font. It doesn’t seem to have an italic version, it’s just the regular one. If you change the CSS to the following, it will work:

em {
    font-style: italic;
    font-family: "muli italic", sans-serif;
}

Or any other way to include the “muli italic” version of the font.

]]>
By: Geej Mauriva https://css-tricks.com/almanac/properties/f/font-style/#comment-1596335 Fri, 07 Aug 2015 22:28:56 +0000 http://css-tricks.com/?page_id=22040#comment-1596335 Hi there,
I put this code:
em {
font-style: italic;
}

in my external CSS shhet on my site site here: http://alaskahealer.com/services/

Here’s the html on the page: No drop ins. By appointment only.
It does not show up italicized in Safari and IE 11

Code Pen: http://codepen.io/anon/pen/rVRVQm

Do you know why?

Geej

]]>
By: Kieran https://css-tricks.com/almanac/properties/f/font-style/#comment-1587323 Sat, 06 Dec 2014 19:02:39 +0000 http://css-tricks.com/?page_id=22040#comment-1587323 In reply to Chase Dickinson.

Your body tag is missing it’s closing brackets. Try

body{
    background-color: #FF0099;
}

p.normal {
    font-style: normal;
}

p.italic {
    font-style: italic;
}

p.oblique {
    font-style: oblique;
}
]]>
By: Chase Dickinson https://css-tricks.com/almanac/properties/f/font-style/#comment-1586733 Fri, 14 Nov 2014 20:52:36 +0000 http://css-tricks.com/?page_id=22040#comment-1586733 Hey my italic isn’t working for external css,
stylesheet

body{
background-color: #FF0099;

p.normal {
    font-style: normal;

}

p.italic {
    font-style: italic;
}

p.oblique {
    font-style: oblique;
}

My website

3 movies
Tommy Boy with Chris Farley, Anchorman: the Legend of Ron Burgundy, with Will Ferral, and Dumb and Dumber, with Jim Carrey




 Tommy Boy is about, his dad's (Who died) business Callahan Auto parts is going out of busniess and Tommy is trying to save the business and sells Zalinski buys 500,000 break-pads to keep in business. Directored by Peter Segal. I would give this movie a 10 out of 10. Due to Chrisa Farley and his comedy in this movie is genuis.

 Anchorman is about Rob and his News Team. There is a girl journalist and she is trying to take Rob's job and Rob ends up getting fired. She becomes Anchor. In the end They co-anchor each other in the News for the World. Directored by Adam McKay. I would rate this movie a 9 out of 10 due to Will fereel going over the top. It ain't a 10 because Steve Caroll gets a gernade. That is dangerous.

 Dumb and Dumber is about Lloyd is trying to find the girl of his dreams because she left a brief case behind. Directored by Peter Farrelly and Bobby Farrelly. I would rate my movie a 9 out of 10 due to Jim Carrey and Jeff Daniels going out and trying to be kids again. It isn't a 10 due to the fact that it is really dumb. 




what should i do?
my email
mace4chase@gmail.com

]]>