• newbirddesign

    (@newbirddesign)


    I’m trying to format my h1-h4 styles but nothing seems to be working. I added this to the style.css, but no luck. below is my code and the url is my name+.com

    you can see on the homepage it is quite the mess and i cant seem to figure out why. (i want to format all the h tags to be the same style.)

    `h1, h2, h3, h4, h5, h6 {
    color:#737475;
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    line-height: 1.6;
    }

    h1 {font-size:100%;
    }
    h2 {font-size:100%;
    }
    h3 {font-size:100%;}
    h4 {font-size:100%;}
    h5 {font-size:100%;}
    h6 {font-size:100%;}~

Viewing 3 replies - 1 through 3 (of 3 total)
  • doc4

    (@doc4)

    newbirddesign,

    You have styles such as .post h2 that override the general h2 tag. When writing the new styles be sure to catch all styles with it.

    Thread Starter newbirddesign

    (@newbirddesign)

    Thanks alot for that, now i have a new quesiton is there a way to remove the line break that occurs while using <h>

    i tried:

    line-height: 1.6;
    margin:0;
    display:inline;
    padding:0;
    font-weight:normal;

    but it is still causing the text after the <h> to jump to a new line.

    esmi

    (@esmi)

    Heading tags are meant for just that – headings. They’re not meant for keyword stuffing:

    <p>Newbird Design is a<br /><h1>Buffalo NY Web Design Company</h1><p> that strives to make ...everything from<br /><h2>Buffalo NY Web design</h2><p> to Search Engine Optimization. We started as a<br /><h3>Buffalo NY Web design company</h3><p>... expect from a<br /><h4>Buffalo NY Web Design Company</h4><p>

    Oh – and spot the <p> tags. Think they might have something to do with the line breaks…?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HUH!? cant change my <h1> styles’ is closed to new replies.