acsteve Posted October 24, 2004 Posted October 24, 2004 Hello and thank you in advance for any help. I think one of the reasons for .css is the clean code it can produce, and bandwith is can save by loading styles in an external sheet. I have the phpbb set up pretty much the way I want it. I will give you a brief descp. of what I did so as maybe someone can tell me how to clean it up. I moved some things around like where the login element shows up and did that by editing the index.php. I added the customer logo on there by editing the overall_header.php. In the overall_header.php are a lot if not all the styles that will show up on finished product. The overall_header has a little statement that reads as follows */ NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2 theme administration centre. When you have finalised your style you could cut the final CSS code and place it in an external file, deleting this section to save bandwidth. /* Well i thought the same thing, but when i use DWMX 2004 and create a new .css with all the styles mentioned for the main page and attach it to the overall_header.php i start to loos stuff. Like I keep all the colors fonts and styles. What I do not have anymore are the boxes and icons that goes with and around the forums. Now these settings are on the overall_header.php page down at the bottom. If I switch back to the orginal overall_header I get everything back like i like. In DW you can use the export css styles, and it lets me do this just fine, the prob. of course is that it does not get the bottom of this page and the forum loooks like po po. My qusetion is for you brave souls still w/ me is how do I clean up and get all the styles I need , put them on some kinda external sheet and use the actuall subSilver.css? On this ss.css i do not see the last of the items to make the borders around the fourms and the gif's that are also part of it. So how to make one .css to take care of it all? I hope this makes sence and someone can help out a little as i am new to the whole .php thing and new to BB's thanks Steve Quote
TCH-Thomas Posted October 24, 2004 Posted October 24, 2004 Unfortunately I dont know the answer to this, but someone who does will be shortly. Quote
TCH-Bruce Posted October 24, 2004 Posted October 24, 2004 Okay, I had a look at the template. <!-- link rel="stylesheet" href="templates/subSilver/{T_HEAD_STYLESHEET}" type="text/css" --> <!-- /* The original subSilver Theme for phpBB version 2+ Created by subBlue design http://www.subBlue.com --> You need to take everything between the <!-- and --> within the style section and place it in an external stylesheet. Then you need to uncomment this line <!-- link rel="stylesheet" href="templates/subSilver/{T_HEAD_STYLESHEET}" type="text/css" --> Making it read like this And I believe the style sheet must be named subSilver.css for it to work properly. Place it into the same folder as the templates. Quote
acsteve Posted October 27, 2004 Author Posted October 27, 2004 Thanks for the reply. However it did not work. I did get something good though form your reply. Uncommented the line below. That got by me somehow. Any way I will evently get it going. Actually I can make it work just can not seem to get all the styles on the same .css. The items that make up the forums i.e the lines and images just do not show up. Please though i am greatful for your reply. Thanks Steve Uncomment the line below <!-- link rel="stylesheet" href="templates/subSilver/{T_HEAD_STYLESHEET}" type="text/css" --> Making it read like this <link rel="stylesheet" href="templates/subSilver/{T_HEAD_STYLESHEET}" type="text/css"> And I believe the style sheet must be named subSilver.css for it to work properly. Quote
acsteve Posted October 27, 2004 Author Posted October 27, 2004 Ok OK well guess what? the dag gum thing worked after all. I think i was supposed to post that it did not work first as to make a ( out of my self. Now that task is complete it works like a champ./ I did see why it did not work here it is. Besides having to umcomment the line linking the style sheet, on line 11 and 250 had this on them all by them selfs in light gray (almost un- noticable) <-- line 11 and line 250 had --> Thanks very much Steve http://www.duncanvilleaa.org/phpBB/ if you visit my site remember links don't worked and other changes to be made. I just need to get this stuff fixed first. Quote
TCH-Bruce Posted October 27, 2004 Posted October 27, 2004 (edited) Steve, I tried the link you provided and only see a blank gray page. Maybe you are still working on it. Okay, I see a problem. You need to remove this from the overall_header.tpl file. Just above the tag. Edited October 27, 2004 by TCH-Bruce Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.