how to make your blog post an h1

Discussion in 'Blogging' started by bimmerime, Sep 9, 2015.

  1. bimmerime

    bimmerime Regular Member

    Joined:
    May 14, 2015
    Messages:
    283
    Likes Received:
    19
    it's all in the title
     
    Last edited: Sep 9, 2015
  2. PureHustle

    PureHustle Regular Member

    Joined:
    Feb 12, 2015
    Messages:
    481
    Likes Received:
    389
    Location:
    Location
    i dont know if this is a pun or if you're asking a quesiton...?

    [​IMG]
     
    Last edited: Sep 9, 2015
  3. bimmerime

    bimmerime Regular Member

    Joined:
    May 14, 2015
    Messages:
    283
    Likes Received:
    19
    i meant blog post title. i forgot to mention title
     
  4. virtualbyron

    virtualbyron Jr. VIP Jr. VIP

    Joined:
    May 11, 2014
    Messages:
    1,518
    Likes Received:
    1,125
    Occupation:
    [email protected]
    <h1> your title </h1>
     
    • Thanks Thanks x 1
  5. bimmerime

    bimmerime Regular Member

    Joined:
    May 14, 2015
    Messages:
    283
    Likes Received:
    19
    thanks, but my font size and family changed. how to fix that?
     
  6. metafser

    metafser Regular Member

    Joined:
    Jul 20, 2014
    Messages:
    457
    Likes Received:
    269
    Gender:
    Male
    Occupation:
    Digital Marketing Influencer
    You need to edit your stylesheet. I mean CSS, if you want to change font size, font, color or anything... Check this out:

    Code:
    <!DOCTYPE html>
    <html>
    <head>
    <style>
    body {
        font-size: 100%;
    }
    
    
    h1 {
        font-size: 2.5em;
    }
    
    
    h2 {
        font-size: 1.875em;
    }
    
    
    p {
        font-size: 0.875em;
    }
    </style>
    </head>
    <body>
    
    
    <h1>This is heading 1</h1>
    <h2>This is heading 2</h2>
    <p>This is a paragraph.</p>
    <p>Specifying the font-size in percent and em displays the same size in all major browsers, and allows all browsers to resize the text!</p>
    
    
    </body>
    </html>
    
     
    • Thanks Thanks x 1
  7. blogzandstuff

    blogzandstuff Elite Member

    Joined:
    Jan 1, 2015
    Messages:
    8,388
    Likes Received:
    4,357
    Occupation:
    blog creator
    Location:
    UK
    Any changes you make to your stylesheet or anything else concerning make sure you do in a child theme, otherwise when there is an update you changes will be lost, never make code changes to your main theme
     
    • Thanks Thanks x 1
  8. pxoxrxn

    pxoxrxn Supreme Member

    Joined:
    Dec 21, 2011
    Messages:
    1,398
    Likes Received:
    2,075
    Hey mate. Make the whole article h1 by wrapping it in <h1></h1> tags. This will allow for maximum penetration of SEO.
     
    • Thanks Thanks x 1