This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Two Different Font Styles In the Same Column

  • Creator
    Topic
  • #3185
    dejavuera
    Member

    How do you put 2 different types of font into the same column in the raw content? I would like to have a Title to my column and give that title a different font style and size from the body of text. How is this done? I realize this is probably such a stupid beginner question but I would greatly appreciate any help as I am new to this. Thank You

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #3202
    Jason Bobich
    Keymaster

    You could possibly do it with inline CSS:

    <h3 style="font-family: Font 1">Title</h3>
    <p style="font-family: Font 2">body of text...</p>

    http://www.w3schools.com/cssref/pr_font_font-family.asp

    #3241
    dejavuera
    Member

    That Worked! Lead me to another question though…

    How can I adjust the font size of that Header while also adjusting the font family.
    I tried this inline CSS, what am I doing wrong:
    h3 style=”font-size: 250% font-family: Yanone Kaffeesatz”>Experience</h3

    I originally had the arrow brackets but took them out so it would actually show up for the post. I apologize for my extreme “amateurness” here!
    Thank you so much for your help

    • This reply was modified 7 years, 8 months ago by dejavuera.
    • This reply was modified 7 years, 8 months ago by dejavuera.
    • This reply was modified 7 years, 8 months ago by dejavuera.
    • This reply was modified 7 years, 8 months ago by Jason Bobich.
    #3255
    Jason Bobich
    Keymaster

    You separate the style properties with a semi-colon like this:

    <h3 style="font-size: 250%; font-family: Yanone Kaffeesatz;">Title</h3>

    Note: It doesn’t matter if you put a semi-colon on the end or not.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.