vBulletin Search Engine Optimization
This is a discussion on How do I change <h1> formatting in CSS? within the General Discussion forums, part of the vBulletin SEO Discussion category; I want to use <h1> tags in my navbits around the thread title but I do not want the text ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| ||||
| ||||
| How do I change <h1> formatting in CSS?
I want to use <h1> tags in my navbits around the thread title but I do not want the text to be huge like the default <h1>. I have tried something like: h1 { font-size: 11; } etc etc but it doesnt work |
|
#2
| ||||
| ||||
| Re: How do I change <h1> formatting in CSS?
That should do it. Try 11pt
__________________ Keith Cohen / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. My Personal Sites: My Blog | GPS Discussion Forum |
|
#3
| ||||
| ||||
| Re: How do I change <h1> formatting in CSS?
I use this: h1 { font-size: 175%; font-weight: bold; text-align: center; } And have my thread title shown inside an H1 at the top of SHOWTHREAD. Makes it easier to see the thread title. Example: http://www.fireblades.org/forums/gen...anews-com.html
__________________ Keith Cohen / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. My Personal Sites: My Blog | GPS Discussion Forum |
|
#4
| ||||
| ||||
| Re: How do I change <h1> formatting in CSS?
Or try this, .h1navbar { font-family:verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; margin:0; font-size: 14px; font-weight: bold; display: inline; } And use the class in the navbar: <h1 class="h1navbar"> BTW this is a great thing, it helped a lot on our forums. We have the thread title set as H2, also the navbar We use H1 for the board title, on top of our logo which is a background |
|
#5
| ||||
| ||||
| Re: How do I change <h1> formatting in CSS?
This is what happens when i use that, dutch
|
|
#6
| |||
| |||
| Re: How do I change <h1> formatting in CSS?
Font-sizes with CSS can be done in many ways. Let me dig out my Cascading Style Sheets O'Reilly manual. Here are some examples: h1 { font-size: 24pt; } h1 { font-size: 2pc; } h1 { font-size: 1.0in; } h1 { font-size: 1.56cm; } h1 { font-size: 12.7mm; } h1 { font-size: 150%; } h1 { font-size: 1.5em; } h1 { font-size: x-large; } One thing to watch out for, that would definitely constitute shady SEO: don't let your h1 sizes be declared as smaller than your h2's or h3's. IMO, your safest bet is to define all three of them, in descending order.
__________________ Listings and promotion for hot rod and muscle car websites: The Crankshaft Coalition |
|
#7
| ||||
| ||||
| Re: How do I change <h1> formatting in CSS? Quote:
Would you wrap <h1> Around the "Ford Mustang Forums" title <h2> around the thread title? Now how do I keep the same formatting as the regular navbar instead of what it looks like in the attachment above? Basically I am asking, given my site, http://www.mustangevolution.com/forum/ if it was yours how would you setup the SEO and use the appropriate tags? |
|
#8
| ||||
| ||||
| Re: How do I change <h1> formatting in CSS? Quote:
|
|
#9
| ||||
| ||||
| Re: How do I change <h1> formatting in CSS?
Where should I wrap the <h1>'s? HTML Code: <!-- breadcrumb, login, pm info --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt1" width="100%"> <if condition="is_array($navbits)"> <table cellpadding="0" cellspacing="0" border="0"> <tr valign="bottom"> <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td> <td> </td> <td width="100%"><span class="navbar"><a href="/forum/" accesskey="1">Ford Mustang Forums</a></span>$navbits[breadcrumb]</td> </tr> <tr> <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a><strong>$navbits[lastelement]</strong></td> </tr> </table> <else /> <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>Ford Mustang Forums</strong></div> </if> </td> <if condition="$bbuserinfo['userid']"> <td class="alt2" valign="top" nowrap="nowrap"> <div class="smallfont"> <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br /> <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase> <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if> </div> </td> <else /> <td class="alt2" nowrap="nowrap" style="padding:0px"> <!-- login form --> <form action="login.php" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])"> <script type="text/javascript" src="clientscript/vbulletin_md5.js"></script> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td class="smallfont">$vbphrase[username]</td> <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td> <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td> </tr> <tr> <td class="smallfont">$vbphrase[password]</td> <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" size="10" accesskey="p" tabindex="102" /></td> <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td> </tr> </table> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </form> <!-- / login form --> </td> </if> </tr> </table> <!-- / breadcrumb, login, pm info --> |
|
#10
| ||||
| ||||
| Re: How do I change <h1> formatting in CSS?
<h1 class="h1navbar">$navbits[lastelement]</h1> and <h1 class="h1navbar">$vboptions[bbtitle]</h1> or use H2 like I did if your using H1 for logo |
|
#11
| |||
| |||
| Re: How do I change <h1> formatting in CSS?
Can someone show me where i can add the title to my threads. What template do i need to edit
|
|
#12
| ||||
| ||||
| Re: How do I change <h1> formatting in CSS?
Hi BrentWilson, Quote:
Quote:
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#13
| |||
| |||
| Re: How do I change <h1> formatting in CSS? Quote:
|
|
#14
| ||||
| ||||
| Re: How do I change <h1> formatting in CSS? Quote:
That worked! Thanks |
|
#15
| ||||
| ||||
|
Ive just added these h1 tags now, did everyone see a big difference after they added h1 tags to there titles?
|
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I want change license | sorenlowell | Troubleshooting | 0 | 02-22-2006 09:31 PM |
| Help me change License | sorenlowell | Troubleshooting | 2 | 02-12-2006 09:30 PM |
| Change Licensed URL | Scott | General Discussion | 3 | 01-31-2006 03:53 PM |
| change of server | MMAFan | General Discussion | 2 | 11-26-2005 05:29 PM |