Announcement

Collapse
No announcement yet.

put a photo in the background

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

  • put a photo in the background

    Hello,

    I want to know how do I put a photo in the background of the navigation !
    So where it says
    vBulletin Community Forum > vBulletin 3.6 > vBulletin 3.6 'How Do I' Questions Post New Threadthere I want to put a photo in the background but how do I do this?
    _Anubis

  • #2
    Try this:

    Admin Control Panel > Styles & Templates > Style Manager > dropdown: Edit Templates > Navigation / breadcrumb templates group > Navbar > edit

    find:
    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%">
    In that last <td> tag at the end try adding:

    Code:
    style="background: #869BBF url(images/yourbackground.gif) repeat-x top left;"
    so you get:

    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%" style="background: #869BBF url(images/yourbackground.gif) repeat-x top left;">
    Change the path to the image and the background #hex color.

    save the navar template and give it a try.

    Comment


    • #3
      Thank you for your help.
      _Anubis

      Comment


      • #4
        and what if I don't want the image to repeat....say I just want it displaying once on the right?

        Comment


        • #5
          repeat-x top left
          becomes
          no-repeat top right

          Comment


          • #6
            What does 'repeat' do exactly?
            $post[signature]

            Comment


            • #7
              The word itself is kind of a hint.


              no-repeat : x
              repeat : xxxxxxxxxxxxx

              Comment

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