Why is the search box wonky?

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
helvelin
Registered User
Posts: 41
Joined: Fri Nov 27, 2009 9:04 pm

Why is the search box wonky?

Post by helvelin »

Code: Select all

<!-- EVENT overall_header_searchbox_before -->
			<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
			<div id="search-box" class="search-box search-header" role="search">
				<form action="{U_SEARCH}" method="get" id="search">
				<fieldset>
					<input name="keywords" id="keywords" type="search" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search tiny" size="20" value="{SEARCH_WORDS}" placeholder="{L_SEARCH_MINI}" />
					<button class="button button-search" type="submit" title="{L_SEARCH}">
						<i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH}</span>
					</button>
					<a href="{U_SEARCH}" class="button button-search-end" title="{L_SEARCH_ADV}">
						<i class="icon fa-cog fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH_ADV}</span>
					</a>
					{S_SEARCH_HIDDEN_FIELDS}
				</fieldset>
				</form>
			</div>
			<!-- ENDIF -->
			<!-- EVENT overall_header_searchbox_after -->

			</div>
			<!-- EVENT overall_header_headerbar_after -->
		</div>
		<!-- EVENT overall_header_navbar_before -->
		<!-- INCLUDE navbar_header.html -->
	</div>

	<!-- EVENT overall_header_page_body_before -->

www.02forum.co.uk


The search box is not sitting correctly, can anyone advise?

Thanks
Last edited by Paul on Mon Dec 26, 2022 8:31 pm, edited 1 time in total.
User avatar
janus_zonstraal
Registered User
Posts: 6588
Joined: Sat Aug 30, 2014 1:30 pm

Re: Why is the search box wonky?

Post by janus_zonstraal »

And what do you find "weird" here it seems fine?
Sorry! My English is bat ;) !!!
User avatar
Mannix_
Registered User
Posts: 2003
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Why is the search box wonky?

Post by Mannix_ »

The issue is not the searchbar. The issue is you big image that you used as a logo but it rather should be used as banner so to fix this you want to.

Open colours.css find

Code: Select all

.site_logo {
    background-image: url(./images/02banner4.jpg);
}
change it to

Code: Select all

.headerbar {
    background-image: url("./images/02banner4.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
then in common.css you want to find

Code: Select all

.site_logo {
    display: inline-block;
    width: 900px;
    height: 200px;
}
and change it to

Code: Select all

.site_logo {
    display: inline-block;
    min-height: 200px;
}
the end resault
9ea55484c26d.png
don't forget to purge browser cache after making changes
You do not have the required permissions to view the files attached to this post.
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
helvelin
Registered User
Posts: 41
Joined: Fri Nov 27, 2009 9:04 pm

Re: Why is the search box wonky?

Post by helvelin »

Brilliant thank you very much
Last edited by P_I on Thu Dec 29, 2022 12:50 pm, edited 1 time in total.
Reason: Excessive quotes removed
helvelin
Registered User
Posts: 41
Joined: Fri Nov 27, 2009 9:04 pm

Re: Why is the search box wonky?

Post by helvelin »

Actually tried it and have lost the banner, :?
Last edited by P_I on Thu Dec 29, 2022 12:51 pm, edited 1 time in total.
Reason: Excessive quoting removed
helvelin
Registered User
Posts: 41
Joined: Fri Nov 27, 2009 9:04 pm

Re: Why is the search box wonky?

Post by helvelin »

All sorted, thank you again

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