BV Commerce Forum
»
BV Commerce Support
»
General Support
»
A question about finding uses of h1, h2, etc., in my site.
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
My css has h1, h2, h3, etc., defined. Pretty basic, OOTB.
I'm just wondering if there is a way to figure out if (or where) each of them is used in my website.
Also, am I limited in the naming of a heading format? I don't think I've seen other than h1 - h6 ... can I create a heading style and call it "h17" or "header160%"? |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
If you are searching for <h1> tags in files (ie default.aspx) then just search the files (i.e. Windows Find command or desktop search). If you are looking for <h1> tags in the data (such as in the long description), then BVSoftware's SQL Find and Replace product could probably help, http://www.sqlfindandreplace.com/An <hx> tag is just a block element, like a <div>. So you can use <div class="h17"> and get almost the same result. The biggest difference is that search engines that care about the tags will probably not give any "header" juice to <div class="h1">. |
|
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
Thanks, Andy. I hadn't thought about SEO.
I'd like to get my headings which now use h1 with a background:
/* Headings */ h1 {font-size:160%;line-height:normal;margin:15px 0px 5px 0px;padding:5px 0px 10px 15px;color:#795116;background:url(../images/h1bg705px.jpg) no-repeat;} h2 {font-size:140%;margin:0;padding:0;} h3 {font-size:130%;line-height: 2em;margin:0;padding:0;} h4 {font-size:110%;margin:0;padding:0;} h5 {font-size:100%;margin:0;padding:0;} h6 {font-size:90%;margin:0;padding:0;}
h1 is used all over the place. Problem is the background image is too large for the space allowed for h1 on some pages, so I'd like to spec the same parameters so the text is the same, but use a different bg.
....means I've got to make a new h2, h3... as long as they aren't being used. |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 6/6/2005(UTC) Posts: 483
|
As a Teckie wanna be, I just created a custom page with all the <h > tags in it to see what they looked like. If I didn't like one I just changed it in the theme css.
I sure don't want to go into individual templates and make changes there. I just live with it.
Bob Noble
|
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
I wouldn't recommend using anything above H6 because they don't actually exist. Your HTML won't validate if you have anything like an H7, and the same goes with other tags; can't make them up. :)
H1 - H6 gives you plenty of room to format your pages correctly, as far as headings go. If you need to style something differently than the rest that you have set, like an H3 that is at 160% in certain places, you would use a class, for example, <h3 class="header160">. Don't use the percent symbol in the class name. |
|
|
|
|
Rank: Member
Joined: 6/6/2005(UTC) Posts: 483
|
Mitch. Your using Cliffs TekGear theme as I recall. If so Cliff has his H1 background set in css along with a small corner image. So far we are just changing the color of the background and the image for our different colored themes, but I think you can change that background and or image to pretty much anything you want.
Bob Noble
|
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
Cliff, that's just what I needed to know, thanks. Bob, Nope. Painted Paper. I lifted the css, background:url... trick from one of Noah's sites. I need to make a few to accomodate smaller spaces, the background graphic is getting cut off: http://www.missionfurnishings.com/ContactUs.aspxAt this point I need to load Andy's Shipper et al and get this beast off of the top of my to do list. I'm in clean-up mode until SP3. |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.