Centering the Default Image In Subsilver

This forum is now closed. Please ask all styles-related questions in the phpBB 3.0 Styles Support & Discussion Forum.
Locked
3d0
Registered User
Posts: 56
Joined: Mon Dec 20, 2004 8:14 pm
Location: Greenfield, In
Contact:

Centering the Default Image In Subsilver

Post by 3d0 »

I've done this before but I cannot seem to get it to work. All I want to do is have the logo run above the links, and then have the links run along beneath that.

If you could just present how to do it manually, someone here gave me a piece of pre-edited code and it didn't agree with the template, it removed my logo, and removed the white backround!

Thanks Kindly,

3d0
An Phpbb Support Dude--PM me for help.
Join the Clan:http://www.thedaetclan.tk

Now Testing:Phpbb 3.0 Beta
User avatar
Jim_UK
Former Team Member
Posts: 18478
Joined: Tue Oct 12, 2004 5:36 pm
Location: Darwen N.West UK

Post by Jim_UK »

Open the file overall_header.tpl in Dreamweaver.
Make the changes you wish and click save.

If you do not have Dreamweaver but have Frontpage then open the file in Notepad and copy and paste the code into the code view in Frontpage. (remove the short code that is there first)
Now go to Design view and make the changes. Now copy and paste the code back into the Notepad version and click save.
Backup the file first.

Jim
The truth is out there.
Unfortunately they will not let you anywhere near it!
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Post by 3Di »

Jim_UK wrote: Open the file overall_header.tpl in Dreamweaver.
Make the changes you wish and click save.

If you do not have Dreamweaver but have Frontpage then open the file in Notepad and copy and paste the code into the code view in Frontpage. (remove the short code that is there first)
Now go to Design view and make the changes. Now copy and paste the code back into the Notepad version and click save.
Backup the file first.

Jim

As 3d0 wrote:
If you could just present how to do it manually
.
Well, i do have that tip for you, just give me the time to find it into my HDisks (480GB)..

L8r on..
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
3d0
Registered User
Posts: 56
Joined: Mon Dec 20, 2004 8:14 pm
Location: Greenfield, In
Contact:

Post by 3d0 »

3Di wrote:
Jim_UK wrote:Open the file overall_header.tpl in Dreamweaver.
Make the changes you wish and click save.

If you do not have Dreamweaver but have Frontpage then open the file in Notepad and copy and paste the code into the code view in Frontpage. (remove the short code that is there first)
Now go to Design view and make the changes. Now copy and paste the code back into the Notepad version and click save.
Backup the file first.

Jim

As 3d0 wrote:
If you could just present how to do it manually
.
Well, i do have that tip for you, just give me the time to find it into my HDisks (480GB)..

L8r on..


Thanks :D

To Jim: That...ermm....I know how to edit files, I've toyed with editing it, and it hasn't worked. But thanks, though.

**EDIT**
Nvr mind, I found it!! Thanks for all your help, anyways, and here's the code for those still lost.

Cyberalien Wrote:
You will need to rebuild header and move all buttons under logo.

in overall_header.tpl replace all code starting with <body and until the end of file with this:
Code wrote:<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" />

<a name="top"></a>

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center"><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
</tr>
<tr>
<td align="center" valign="middle"><span class="gensmall"><br /></span><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}</span><br /><span class="gensmall"><br /></span></td>
</tr>
<tr>
<td align="center" valign="middle"><table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu">&nbsp;
&nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp;
&nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp;
&nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;
<!-- BEGIN switch_user_logged_out -->
&nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>&nbsp;
<!-- END switch_user_logged_out -->
&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp;
&nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp;
&nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;
</span></td>
</tr>
</table></td>
</tr>
</table>

<br />
An Phpbb Support Dude--PM me for help.
Join the Clan:http://www.thedaetclan.tk

Now Testing:Phpbb 3.0 Beta
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Post by 3Di »

oops.. ;) Well done.

(for further infos take a look at: http://www.phpbb.com/kb/article.php?article_id=18 )

Greets
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
User avatar
3Di
Former Team Member
Posts: 16038
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Post by 3Di »

You can use also the KEYS:
instead of:

Code: Select all

<img src="templates/subSilver/images/logo_phpBB.gif
this way:

Code: Select all

<img src="{I_LOGO}
I'm using the CH RC5 phpBB2.0.15 version, take a look so to the KB.
;)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
Locked

Return to “[2.0.x] Styles Development & Discussion”