Announcement

Collapse
No announcement yet.

Category has a background image

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

  • Category has a background image

    How can I add a background image to categories? The attachment is an example of what I want.
    Attached Files

  • #2
    Admin CP -> Styles & Templates -> Style Manager -> Main CSS (in the menu)

    Edit the Background attribute of the Category Strips class. The default style already has the code for a background image:

    Code:
    #869BBF url(images/gradients/gradient_tcat.gif) repeat-x top left
    Change the image path to point to your image, or upload your image in place of images/gradients/gradient_tcat.gif

    Comment


    • #3
      if i'm changing that and i don't want it to repeat what size width should i make the image so that it covers the entire category?
      Unscripted 360 - Xbox 360 Community Podcast

      Comment


      • #4
        What is the width of your forums?

        Admin CP -> Styles & Templates -> Style Manager -> StyleVars -> Main Table Width

        Make the image the same width as your forums. If you use a percentage for your forum width then the best solution is to let the image repeat... otherwise you need to make it wide enough to fit all screen resolutions (width of 1600 is probably good).

        Comment


        • #5
          thanks jake....should i make it any particular height?
          Unscripted 360 - Xbox 360 Community Podcast

          Comment


          • #6
            Make it tall enough so it covers the height of the category strip on the online.php page - http://www.vbulletin.com/forum/online.php

            X members and Y guests
            Most users ever online was Z, Month Day Year at Time.


            That is the tallest instance of a category strip that I can find.

            Comment

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