Moron requires assistance!

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Anti-Spam Guide
Locked
User avatar
serverofthealter
Registered User
Posts: 1
Joined: Wed Sep 19, 2012 3:32 am

Moron requires assistance!

Post by serverofthealter »

So I just made a new forum and I'm hitting quite a few plateaus.

Image

If at possible I need these three things.

1.) The main logo shifted to the center of the top screen.
2.) The forum title removed completely.
3.) The search bar right above FAQ, Membwers, etc...

An example of this would be here:
Image

Secondly(And less importantly):
Image

!.) I want to eliminate that blue borderline on the prosilver theme.
2.) I want to get read of "View unread posts" (The redundancy annoys me for some reason)

Another example:
Image

Finally, and MOST importantly:
In the forums my icons display fine for new posts/posts but topics remain the default setting even after I change them in the Admin Control Panel, why?

Image
Image

I may have overlooked something but can I get a favicon?

Thanks everyone in advance!

User avatar
Christian 2.0
Former Team Member
Posts: 4555
Joined: Wed Nov 04, 2009 11:16 pm
Location: UK
Name: Christian
Contact:

Re: Moron requires assistance!

Post by Christian 2.0 »

Hello :)

First up the header. To begin with open: /styles/prosilver/template/overall_header.html

To remove the site name + description, find and delete:

Code: Select all

				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p>
Also find and delete:

Code: Select all

<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
			<div id="search-box">
				<form action="{U_SEARCH}" method="get" id="search">
				<fieldset>
					<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
					<input class="button2" value="{L_SEARCH}" type="submit" /><br />
					<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
				</fieldset>
				</form>
			</div>
		<!-- ENDIF -->
Now to center the logo, open: /styles/prosilver/theme/common.css

Find:

Code: Select all

/* Site description and logo */
#site-description {
	float: left;
	width: 70%;
}
Replace with:

Code: Select all

/* Site description and logo */
#site-description {
	text-align: center;
	width: 100%;
}
Find:

Code: Select all

#logo {
	float: left;
	width: auto;
	padding: 10px 13px 0 10px;
}
Replace with:

Code: Select all

#logo {
	width: auto;
	padding: 5px;
}
For the search bar in the navigation, open up overall_header.html again

Find:

Code: Select all

<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
After, Add:

Code: Select all

<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
                	<li class="rightside">
                        <form action="{U_SEARCH}" method="get" id="search">
                        	<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />{S_SEARCH_HIDDEN_FIELDS}
                        </form>
                    </li>
                <!-- ENDIF -->
Moving onto that blue border, did you just want to change the colour to a light blue such as the one in the picture, or remove it completely?

To remove the "view unread posts" links, open: /styles/prosilver/template/index_body.html ,

Find and delete:

Code: Select all

<!-- IF S_LOAD_UNREADS --> &bull; <a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- ENDIF -->
With regard to the topic icons, can you post the link to your board so I can investigate this further?

Finally: https://www.phpbb.com/kb/article/adding-a-favicon/ :)

Locked

Return to “[3.0.x] Styles Support & Discussion”