The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Curved corners and expanding tcat background
[tcat_left.png X 1]**********[tcat_repeating.png X n]**********[tcat_right.png X 1]
What I want is to put a repeating background image for .tcat class. How do I put one curved image at the left and one curved image on the right for tcat background? I have my images ready, just not able to understand how to fix them up via CSS. I want to achieve something like below. But how do I do this using just the Extra CSS Attributes field box, so that I do not have to edit templates. Code:
.tcat_left { background: url(../../images/gradients/tcat_left.png) no-repeat top left; } .tcat_bg { background: url(../../images/gradients/tcat_repeating.png) repeat-x top left } .tcat_right { background: url(../../images/gradients/tcat_right.png) no-repeat top right; } Thanks |
#2
|
||||
|
||||
HTML Code:
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td class="tcat_left"></td> <td class="tcat_bg"></td> <td class="tcat_right"></td> </tr> </table> |
#3
|
||||
|
||||
But I want to do just by editing .tcat class (Extra CSS Attributes) rather than editing templates.
How do I apply your method to the tcat class? |
#4
|
||||
|
||||
You cannot do it just by editing .tcat class.
You have to use table or in an existing table make 3 columns. . |
#5
|
||||
|
||||
But how do I do this for the whole site wherever .tcat class is used? I mean will I have to edit ALL templates replacing use of tcat with my own classes?
Thanks |
#6
|
||||
|
||||
Quote:
to admincp >> Style Manager >> to styles choose main CSS you see, all templates can change belong of "Category Strips" sorry, if this you mean .... |
#7
|
||||
|
||||
Quote:
Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|