Announcement

Collapse
No announcement yet.

Cant center logo,Its in navbar not header

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [vB4] Cant center logo,Its in navbar not header

    I cant get my header to center,tried all Lynns & other suggestions,but think its because it is in navbar template & not header.
    Can anyone help please.
    site is http://bikesntrikes.com

    This is navbar template code.
    Code:
    <div id="header" class="floatcontainer doc_header"><div class="headerWrap">
    
        {vb:raw ad_location.ad_header_logo}
        <div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" id="logo"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div>
    
    
        {vb:raw ad_location.ad_header_end}

  • #2
    You have your logo floated left. That is why it is on the left. And <center> is deprecated.

    HTML Code:
    #logo {    float: left;}

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment


    • #3
      I tried <center>out of despiration tbh lol,Meant to delete them.

      So how/where do i sort this please lynne.

      Comment


      • #4
        You have a modified style. I don't know where you have that info. That is not a default vbulletin css class, so I don't know where it is defined. You will have to do a Search in Templates for it.

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools &lt;- awesome site for html/css help

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X