https://www.icyphoenix.com/viewtopic.php?f=32&t=4328&p=29242#p29242 ----------------------------------- jpavly Sun 15 Jun, 2008 20:01 Phpbb3 Portal For Milky_Way ----------------------------------- As promised, now that I'm done here is the work I've done for the portal with Milky_Way. The following should also work in other Icy Phoenix styles. Portal: www.phpbb3portal.com First of all, install the portal as instructed from the original site and use the subSilver2 files for the Milky Way style. It should work as is, but if you want to tweak it a little bit like mine here's what you should do: [b]Backup![/b] Make a backup of you Milky Way folder ! [b][u]Point 1[/u][/b] For the News Section, I wanted every article's title to have the forum's header backround. Open /styles/milky_way/theme/stylesheet.css Locate: .cat It should be like this, but your colors might be different: [code linenumbers=false].cat { color: #FF5500; background-color: #F8F8F8; background-image: url('./images/bg_th.gif'); border: solid 1px #FFFFFF; border-right-color: #DDDDDD; border-bottom-color: #DDDDDD; height: 26px; margin: 0; padding: 0; text-indent: 4px; } [/code] Now, copy the whole code and paste it underneath and rename .cat to .catnews. Make any changes you want, like the image and the border width. Then you should have this: [code linenumbers=false].catnews { color: #FF5500; background-color: #F8F8F8; background-image: url('./images/tbl_h_c.gif'); background-position: bottom left; border: solid 0px #FFFFFF; border-right-color: #DDDDDD; border-bottom-color: #DDDDDD; height: 26px; margin: 0; padding: 0; text-indent: 4px;[/code] [b][u]Point 2[/u][/b] For the title bar of the Boxes, they'll look far better if you do the following: OPEN [b]/styles/milky_way/theme/stylesheet.css [/b] FIND .tablebg It should look like the following, color might be different: [codeblock] .tablebg { background-color: #FFFFFF; border: solid 1px #AAAAAA; } [/codeblock] Copy it undreneath and rename .tablebg to .tablebgportal like this: [codeblock].tablebgportal { background-color: #FFFFFF; border: solid 1px #AAAAAA; } [/codeblock] Once again, find .tablebg th Should look like this: [code linenumbers=false].tablebg th{ color: #FF5500; background: #FFFFFF url('./images/bg_th.gif') top left repeat-x; font-size: 1.1em; font-weight: bold; height: 26px; padding: 0 5px; border: solid 1px #FFFFFF; border-right-color: #BBBBBB; border-bottom-color: #BBBBBB; white-space: nowrap; }[/code] Copy it underneath, rename it to .tablebgportal th and change the border settings to: [code linenumbers=false] .tablebgportal th{ color: #FF5500; background: #FFFFFF url('./images/bg_th.gif') top left repeat-x; font-size: 1.1em; font-weight: bold; height: 26px; padding: 0 5px;[b] border-right: solid 0px #FFFFFF; border-top: solid 0px #FFFFFF; border-bottom: solid 1px #BBBBBB; border-left: solid 0px #FFFFFF;[/b] white-space: nowrap; } [/code] This way you have some new classes in order not to change anything else in the forum style. [b][u]Point 3[/u][/b] Enabling the changes in the portal's Boxes: Go to styles/milky_way/template/portal/block/ and open any block you use. I'll use news.html and clock.html for my example. In the first row you'll find: [code linenumbers=false] [/code] Replace it with: [code linenumbers=false]
[/code] Then for the other image backround find [code linenumbers=false]
[/code] and replace it with [code linenumbers=false][/code] Make the 1st change to all boxes (tablebgportal) and you'll be just fine :) Remember to clear your forum cache. If you need anything else, post it and I'll try to help! I hope I'm not missing anything, this is my 1st guide..