How can I add a background image to categories? The attachment is an example of what I want.
Category has a background image
Collapse
X
-
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([color=red]images/gradients/gradient_tcat.gif[/color]) repeat-x top left
-
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?Comment
-
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
-
thanks jake....should i make it any particular height?Comment
-
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.
Comment