View Full Version : Creating New CSS
matt_turpin
01-17-2008, 05:11 AM
I've run into a small problem in trying to renovate my forums. The footer that contains the links "Contact Us, Admin, Mod, etc" and the middle bar that contains the links "Mark Forums Read/ View Forum Leaders" share the same "tfoot" descriptor. What I want to do is change the footer bar appearance without changing the view forum leaders bar. I'm thinking that involves making a new td category, for example tfooter_2 or something. Is there an easier way? Or if that is what I have to do, can someone give me some instructions on how? I'm asking this because in my efforts to improve my forums I already destroyed it dozens of times, and I'm wary about meddling in vBulletin's inner mechanics blindly. Thanks in advance for any advice.
SEOvB
01-17-2008, 07:13 PM
Do as you suspected, create the tfooter2 define its properties in the additional CSS box in the style manager.
Then edit footer template and change tfoot to tfooter2
matt_turpin
01-18-2008, 02:50 AM
Thanks for the advice. I must be doing something wrong, though. The first block of additional CSS was being used already, so I went into the second empty block and typed the following:
td.tfoot_2 { background-image: url(images/FH_FFXI/"footer.gif") }
Then I went into the edit templates page and amended the tdclass"tfoot" to "tfoot_2". No matter what image I designate as the background image in the code displayed above, it's as if the table defaults to the background of the main site. No special background at all. Is my code right?
SEOvB
01-18-2008, 02:57 AM
take out the quotes before and after footer.gif
matt_turpin
01-18-2008, 03:05 AM
Thank you, FRDS. You were a lot of help. I'm pulling my hair out trying to learn CSS and vb coding on the fly.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.