Results 1 to 14 of 14

<h1> Problems

This is a discussion on <h1> Problems within the General Discussion forums, part of the vBulletin SEO Discussion category; I'm trying to add <h1> tags and here's what I got, but for some reason it's not working. For the ...

  1. #1
    Junior Member Array
    Real Name
    Wolf
    Join Date
    Feb 2007
    Posts
    26
    Liked
    0 times

    <h1> Problems

    I'm trying to add <h1> tags and here's what I got, but for some reason it's not working.

    For the CSS
    Code:
    h1 { font-size: 10pt; font-weight: bold; text-align: left; display:inline; }
    And have wrapped <h1's> around

    Code:
    <h1 class="h1navbar">$navbits[lastelement]</h1>
    &
    Code:
    <h1 class="h1navbar">$vboptions[bbtitle]</h1>
    There's no problem with the tags themselves, but the additional CSS doesn't take effect. So, when the thread title is displayed in the navbar, the name of the thread is in huge <h1> rather than 10pt.

    Any suggestions?

  2. #2
    vBSEO Staff Array Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    4,033
    Liked
    31 times
    Hi Wolf,

    Try the css as:

    Code:
    .h1navbar { font-size: 10pt; font-weight: bold; text-align: left; display:inline; }
    Last edited by Ace Shattock; 09-06-2007 at 07:52 PM. Reason: added the dot
    Ace Shattock / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


    My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | New Zealand Food | New Zealand Android OS Talk | vBulletin Hosting

  3. #3
    Junior Member Array
    Real Name
    Wolf
    Join Date
    Feb 2007
    Posts
    26
    Liked
    0 times
    Still same problem. :(

  4. #4
    vBSEO Staff Array Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    4,033
    Liked
    31 times
    Hmm.

    Here is what I use:

    Css -
    Code:
    .h1navbar
    {
    font-family:verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;  
    margin:0;
    font-size: 14px;
    font-weight: bold;	
    display: inline;
    padding-top: 5px;
    }
    Then, in the navbar:

    Code:
    <h1 class="h1navbar">$navbits[lastelement]</h1></
    Now, given that my suggestion above should have worked.. can you give me a URL where I can check out your source code?

    *edit* AHA! You don't have the . in front of the name of your css class!
    Ace Shattock / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


    My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | New Zealand Food | New Zealand Android OS Talk | vBulletin Hosting

  5. #5
    Junior Member Array
    Real Name
    Wolf
    Join Date
    Feb 2007
    Posts
    26
    Liked
    0 times
    Still didn't work. You can see my problem Here

    Please be quick as it does look rather 'tacky'

  6. #6
    vBSEO Staff Array Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    4,033
    Liked
    31 times
    I don't know whether it will make a difference, but your .css doesn't appear to be closed in places.

    Code:
    .portalnav
    {
    color:#FFFFFF;
    font: bold 10px verdana;
    Text-Decoration: none;
    
    .portalnav a, .portalnav a:link, .portalnav a:visited, .portalnav a:hover, .portalnav a:active {
     
    text-decoration:none;
     
    color: #FFFFFF;
     
    font: bold 10px verdana;
    Try changing that to:
    Code:
    .portalnav
    {
    color:#FFFFFF;
    font: bold 10px verdana;
    Text-Decoration: none;
    }
    .portalnav a, .portalnav a:link, .portalnav a:visited, .portalnav a:hover, .portalnav a:active {
     
    text-decoration:none;
     
    color: #FFFFFF;
    
     
    font: bold 10px verdana;
    }
    Ace Shattock / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


    My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | New Zealand Food | New Zealand Android OS Talk | vBulletin Hosting

  7. #7
    Junior Member Array
    Real Name
    Wolf
    Join Date
    Feb 2007
    Posts
    26
    Liked
    0 times
    Nope, that didn't work either.

  8. #8
    vBSEO Staff Array Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,818
    Liked
    192 times
    You have an error in your CSS stylesheet:
    http://www.u-connex.com/clientscript...9bbe-00001.css
    HTML Code:
    .vbmenu_hilite a:hover, .vbmenu_hilite a:active, .vbmenu_hilite_ahover
    {
    	color: #000000;
    	text-decoration: none;
    }
    <!-- CSS Stylesheet -->
    <style type="text/css" id="vbulletin_css">
    <!--
    /* vBulletin 3 CSS For Style 'MX6.com 2.0' (styleid: 13) */
    body
    {
    <script language="JavaScript" src="imagesmx6/misc/rollovers.js" type="text/javascript"></script>
    <!-- END TEMPLATE: headinclude -->
    	<</title>
    </head>
    <body>
    You should remove that html code from the style.
    Oleg Ignatiuk / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  9. #9
    Junior Member Array
    Real Name
    Wolf
    Join Date
    Feb 2007
    Posts
    26
    Liked
    0 times
    That worked, thanks. But if you check out the Homepage the 'Navigation' module isn't like it originally was.

  10. #10
    vBSEO Staff Array Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    4,033
    Liked
    31 times
    Code:
    <script language="JavaScript" src="imagesmx6/misc/rollovers.js" type="text/javascript"></script>
    That needs to go in the actual html, not the css section.

    ie: Put it in the headinclude template.
    Ace Shattock / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


    My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | New Zealand Food | New Zealand Android OS Talk | vBulletin Hosting

  11. #11
    Junior Member Array
    Real Name
    Wolf
    Join Date
    Feb 2007
    Posts
    26
    Liked
    0 times
    Ahhh, tried it but it didn't work. Here's what I have -

    Code:
    <script language="JavaScript" src="imagesmx6/misc/rollovers.js" type="text/javascript"></script>
    <!-- Google verification -->
    <meta name="verify-v1" content="eBUPEECj8ORBTfrHMncAT43d1KBHJ4pC/pDawJFPg4o=" /> 
    <!-- / Google Verification -->
    <meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
    <meta name="generator" content="vBulletin $vboptions[templateversion]" />
    <if condition="$show['threadinfo']">
    <meta name="keywords" content="$threadinfo[title], $vboptions[keywords]" />
    <meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" />
    <else />
     <if condition="$show['foruminfo']">
    <meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
    <meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
     <else />
    <meta name="keywords" content="$vboptions[keywords]" />
    <meta name="description" content="$vboptions[description]" />
     </if>
    </if>
    <!-- CSS Stylesheet -->
    $style[css]
    <if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
    <style type="text/css">
    ul, ol { padding-left:20px; }
    </style>
    </if>
    <!-- / CSS Stylesheet -->
    <script type="text/javascript">
    <!--
    var SESSIONURL = "$session[sessionurl_js]";
    var IMGDIR_MISC = "$stylevar[imgdir_misc]";
    var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10);
    // -->
    </script>
    <script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
    <if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>
    <if condition="$vboptions['externalrss']">
    <link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
    <if condition="$show['foruminfo'] OR $show['threadinfo']">
    <link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" />
    </if>
    Edit: If there's any need to know, the nav module is a hack from vB.org - Here

  12. #12
    vBSEO Staff Array Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    4,033
    Liked
    31 times
    More than likely, it is due to you replacing the { in my example with [, which cause your .css to break.
    Code:
    .portalnav
    {
    color:#FFFFFF;
    font: bold 10px verdana;
    Text-Decoration: none;
    ]
    .portalnav a, .portalnav a:link, .portalnav a:visited, .portalnav a:hover, .portalnav a:active {
     
    text-decoration:none;
     
    color: #FFFFFF;
     
    font: bold 10px verdana;
    ]
    Ace Shattock / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


    My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | New Zealand Food | New Zealand Android OS Talk | vBulletin Hosting

  13. #13
    Junior Member Array
    Real Name
    Wolf
    Join Date
    Feb 2007
    Posts
    26
    Liked
    0 times
    Still didn't work. PM Sent.

  14. #14
    vBSEO Staff Array Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    4,033
    Liked
    31 times
    That's because you didn't replace the ] with }.

    Detailed instructions sent via PM.
    Ace Shattock / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


    My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | New Zealand Food | New Zealand Android OS Talk | vBulletin Hosting

Similar Threads

  1. Migrating to new server with problems
    By jadog in forum Troubleshooting
    Replies: 12
    Last Post: 06-22-2007, 04:11 PM
  2. I have installed but i have couple problems?
    By aycan555 in forum Pre-Sales Questions
    Replies: 11
    Last Post: 05-08-2007, 03:29 PM
  3. Replies: 5
    Last Post: 08-04-2006, 06:19 AM
  4. Annoucement and other problems need help...
    By trickster in forum Troubleshooting
    Replies: 5
    Last Post: 07-31-2006, 06:48 PM
  5. Any Mac OS X users having problems with vBSEO?
    By MrNase in forum General Discussion
    Replies: 1
    Last Post: 02-20-2006, 12:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •