#274848 - 06/11/0411:52 AMwcsoft.css - for lack of a better name.
Rick
Guru
Registered: 05/11/99
Posts: 8373
Loc: Olympia, WA
Ok, I redesigned my site and test forums and put together a stylesheet for it. <br /> <br />Download Zip file - upload stylesheet and then upload the 'wcsoft_images' directory to /stylesheets/images/wcsoft_images location. <br /> <br />You can see a demo at my site: http://www.wcsoft.net
Definitely one of the coolest themes I have seen on here, I want to use this as my default, I've even labeled it "Scream" <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br />One thing though, on my current stylesheet I changed my (5 viewing) on the main page color using this code<br /><br />$ubbt_lang['VIEWING'] = "<font color=\"gray\">viewing</font>"; <br /><br />in my lang file. But the .css in this style seems to be taking that over and I can't find where?
#274855 - 06/15/0402:27 PMRe: wcsoft.css - for lack of a better name.
[Re: BlarC]
Rick
Guru
Registered: 05/11/99
Posts: 8373
Loc: Olympia, WA
Hmm, it seemed to work ok for me. I added this:<br /><br />$ubbt_lang['VIEWING'] = "<font color='red'>viewing</font>";<br /><br />The .small class is applied to that text but there is no font color so it shouldn't interfere with what you are trying to do.<br /><br />Glad you like the stylesheet <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" />
Okay, thanks. Here's what I would like to do next, on the main page under Posts it shows how many are new like this:<br /><br />Posts<br />6098<br />(3)<br /><br />I would like just the (3) to be red and not the entire post count, this is defined in .new on my current .css and when I tried in this one it turns it all red. <br /><br />Also, I would like to turn the txt from #CCCCCC to #FFFFFF on the front page and in all the posts, not sure where that was so I thought I would ask. Thanks for all your help, I am looking forward to releasing this it will be the first change since I started my site, I am sure my users will really dig it!<br /><br />BTW I am using threads 6.4 <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
#274857 - 06/15/0403:02 PMRe: wcsoft.css - for lack of a better name.
[Re: BlarC]
Rick
Guru
Registered: 05/11/99
Posts: 8373
Loc: Olympia, WA
Ahh, since I'm running 6.5 it's a bit different since the styles have changed a bit. Should have said something in my first post.<br /><br />In 6.5 we totally removed the .new class. And that bit is controlled by the .standouttext class. I *think* you might be able to just add the .new class back in. Maybe add:<br /><br />.new {<br /> font-color: red;<br />}<br /><br />The font color is controlled throughout a variety of classes. Basically I'd just do a search and replace for #CCCCCC; and change to #FFFFFF; It's actually defined in a total of 9 classes in total and it's the only place that color code is used so if you change them all to #FFFFFF it should do what you are looking for.
Great! It all works the way I want to now and it's live, thanks for the new look <img src="http://www.ubbdev.com/forum/images/graemlins/yay.gif" alt="" />
Can you throw an SQL command my way that will force an update? or is it a matter of refreshing, it's set as default and it's the only choice they have.
I have never really messed with these so sorry for all the questions. I figured this would be an easy tweak but with the new css setup it seems like a lot of things are combined. I really like the font size but want to make it bigger only in the actual posts. I have narrowed it down to this:<br /><br />p,table,td,tr {<br />font-family: Arial, Helvetica, sans-serif;<br />color: #FFFFFF;<br />font-size: 11px;<br />}<br /><br />Which applies to other things, is there something I can add that would make the font size only apply to the forum (post) text?
#274864 - 06/15/0405:26 PMRe: wcsoft.css - for lack of a better name.
[Re: BlarC]
Rick
Guru
Registered: 05/11/99
Posts: 8373
Loc: Olympia, WA
There is actually a .post class in the code but it's never been put into the stylesheets. You *should* just be able to add something like this:<br /><br />.post {<br />font-size: 12px;<br />}
Okay, that works great. I see a pattern here of things I can take from my existing css and add into this one. Thanks again <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
Hmmm...I installed this style sheet but can't seem to get it woring. I am running 6.4.1, when I apply this style sheet to my account all the background and table headers and stuff is all white. Initially I thought it was a path problem as I moved the images to the image directory in my webs root directory and modifed the paths in the .css. To check that I created a images/wcsoft_images directory in the stylesheet directory and moved the three images there, but the same effect. Is this style sheet just completely uncompatible with my version or am I still missing something...? I was going to add a few other mods I found on this site but having been stumped by a .css I am now a bit worried. <br /> <br />P-
Ugh, Ignore me. I configured UBBT to read .css from the stylesheets dir in my webroot. Oddly enough the admin "Theme Configuration" still reads from the /ubbthreads/stylesheets but the actual style sheets are loaded from the one in the web root. Sorry...<br /><br />P-