I cannot figure out how to change the color of the category titles, size and font with CSS:
.categorytitle {
text-align: center;
color: #94720A;
nav-color: #94720A;
font-size: 20px;
font-family: Georgia;
}
I know how to align it, but not color it. I could try to, Because I know it is more then what you have (I believe) If I can't do it, then Dwight can step in.
The align part works well. ^^
.categorytitle {
text-align: center;
}
edit:I guess it does not work for the main boards title, but it does work like when you modify a header/footer or anything else in the admin panel. I will have to work more on this. Its close at least
Well I got it fixed I know whats wrong
You have to have this:Code:
- <script type="text/javascript">
- <!--
- /*Remove Link From Category Name by Danny*/
- var cat = document.getElementsByTagName('tr');
- for(e=0; e<cat.length; e++){
- if(cat[e].firstChild.className=='title2 categorytitle' && cat[e].firstChild.colSpan=='3'){
- cat[e].getElementsByTagName("a")[1].removeAttribute("href");
- cat[e].getElementsByTagName("font")[0].removeAttribute("size");
- }
- }
- // -->
- </script>
This removes the link from the category title, which makes the CSS work.
Code:
- <style type="text/css">
- .categorytitle {
- text-align: center;
- color: #94720A;
- nav-color: #94720A;
- font-size: 20px;
- font-family: Georgia;
- }
- </style>
If you want to see for your self go here:
http://dmtesting.vforums.co.ukand you will see
Nope. Didn't work from my end. =/
How about now? I increased it by 90 its really big now.
Oh and I only tested this in FireFox, Maybe I first should of tested everywhere else too. So I am on it.
Works on your board but mine not, but I use the skin feature. Is it in your all skins? And what location?
Well I tested it in Internet Explore. Safari, Opera, and Google Chrome, all look fine to me. If you are talking about your forum I forgot to mention put the other code in your Global header. Then put the CSS where ever you like it.
I put it in the global footer and it worked. Thanks!
Your welcome. Glad to help.
'nother problem arose the font tag isn't working. :[. It works when I use '.general.' in category name but I don't have the space to do all of them with the font tag to get that font.
Ok I will see what I can do.
edit:
Sorry I was not able to. Maybe Ross or Dwight can do it. Whomever gets on first.
edit 2:
I can change the Title1 and 2 font family, but I cannot seem to get the category text to work.