• Resolved noproblems

    (@noproblems)


    I’m sorry to be so dense and I’m sure this has been asked repeatedly yet I have been unable to find an answer. I know we cannot use our <h> tags mid-sentence to change the look of our font, but how then do we accomplish this?

    I want to change the font family, the size and the color from the rest of the paragraph so it would be the same as my <h4> tag, but I cannot use the <h4> tag as you know this forces the whole paragraph to change. I want the rest of my paragraph to remain a paragraph font.

    How do I do this? I’ve tried every html code I can think of but must be doing something wrong as none of them work. Any help is appreciated.

    Thank you!

    saveruralalbemarle.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try using span tags and a custom class to add CSS:

    <span class="mytext">put the text to be changed here</span>

    CSS:

    .mytext {
       styles here;
    }

    Try specifying a new CSS class, p_h4 and

    .p_h4{
    font: <<your font definition>>
    }
    Thread Starter noproblems

    (@noproblems)

    Thank you!!!!! Thank you both. I ended up using WPyogi’s suggestion and am so grateful.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to change font mid-sentence?’ is closed to new replies.