Good news for adding search box, but.....

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
abcd2014
Registered User
Posts: 74
Joined: Sun Feb 18, 2018 12:26 pm

Good news for adding search box, but.....

Post by abcd2014 »

I add following code in navbar_header.html as

Code: Select all

<!-- ENDIF -->

<!-- added by me -->
<li style='float:right;'>
	<div id="search-box" class="search-box search-header" role="search" style='float:top;'>
		<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 icon-button search-icon" type="submit" title="{L_SEARCH}">{L_SEARCH}</button>
			<a href="{U_SEARCH}" class="button icon-button search-adv-icon" title="{L_SEARCH_ADV}">{L_SEARCH_ADV}</a>
			{S_SEARCH_HIDDEN_FIELDS}
		</fieldset>
		</form>
	</div>
</li>	<!-- end of added -->
I just copy code from overall_header.html

Now I want to move the search-box up to same line as "Board index".

I don't understand so many IDs in above code, can you help to complete the up-movement?

Thanks.
User avatar
PlanetStyles.net
Former Team Member
Posts: 4809
Joined: Wed Nov 04, 2009 11:16 pm
Location: Way up in the sky close to the stars
Name: Christian
Contact:

Re: Good news for adding search box, but.....

Post by PlanetStyles.net »

Hi :)

Do you have a link to a live example of this?

Thanks!
Post Reply

Return to “phpBB Custom Coding”