![]() |
How can i add third alternate style ?? (alt3)
Hi all, i want to make another style to the postbit table. For example, i want to change background of postbit. But if i do this in styles options in adminp, forumhome table backgrounds are also changed. Because the tables are using alt1. So, how can i add alt3 ??
|
Not sure I'm following you, but if you want to add a new CSS class, you can go to the bottom of the Main CSS Options page to "Additional CSS Definitions" and add the following:
Code:
.myclass |
Thank you.
<td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]"> How can i change this to background-image: url(/images/firstalt1.gif) Because, I dont want to change alt2 in style settings. |
Replace:
Code:
<td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]"> With: Code:
<td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor];background:#000000 url() repeat-x top left"> Change #000000 to whatever background color you want. Change repeat to either: no-repeat, repeat (both vertical and horizontal), repeat-y (vertical), repeat-x (horizontal) |
Freesteyelz, very good info thanks a lot !
|
I hope it works out for you. :)
|
All times are GMT. The time now is 10:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|