Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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.

Posted

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.

Posted (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 by TCH-Bruce

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...