1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Alter only one H1 Tag? How can I do it?

Discussion in 'White Hat SEO' started by englandrm, Nov 15, 2010.

Tags:
  1. englandrm

    englandrm Senior Member

    Joined:
    Nov 11, 2010
    Messages:
    942
    Likes Received:
    431
    Location:
    Canada
    I have a client who has a gigantic site. He was lacking basic SEO on his home page, yet is ranking quite well. He doesn't have an h1 tag on the page, and I want to put it on with the keyword.

    However, his css for h1 is a weird gigantic purple mess, and is used on many other pages in the site (so I can't just change the css).

    How can I get the keyword in an h1 tag on the home page, but have it blend in better? Preferably altering the size and color, while maintaining the h1 status.

    White hat preferably.

    Any ideas? Thank you
     
  2. madoctopus

    madoctopus Supreme Member

    Joined:
    Apr 4, 2010
    Messages:
    1,249
    Likes Received:
    3,498
    Occupation:
    Full time IM
    If you ask that question you should learn CSS and HTML.
    Obviously, you add a H1 tag to the homepage, give it a certain class or id and then write your own CSS for that. Keep in mind that you will have to override the CSS rules that will get applied from the global rule of H1.
     
  3. Unemployed

    Unemployed Junior Member

    Joined:
    Oct 6, 2010
    Messages:
    141
    Likes Received:
    37
    change the css style so that the h1 is to your liking style wise, simple.
     
  4. hernanl

    hernanl Newbie

    Joined:
    Oct 17, 2010
    Messages:
    18
    Likes Received:
    0
    I'm no expert. But I would try giving it an id, so you can refer to it in the css code.
    Anyway, if it is indeed a "purple mess", I'd imagine you are not using it anywhere else on the site, so it wouldn't generate any problems changing it.
     
  5. englandrm

    englandrm Senior Member

    Joined:
    Nov 11, 2010
    Messages:
    942
    Likes Received:
    431
    Location:
    Canada
    Took care of it. Just had to change the style within the tag. Looks great, thanks for the help.