Centre header image and remove text

For support and discussion related to templates, themes, and imagesets in phpBB 3.1.
Get Involved
mtridersclb
Registered User
Posts: 86
Joined: Wed Oct 01, 2008 7:15 pm

Re: Centre header image and remove text

Post by mtridersclb » Sun Dec 13, 2015 10:05 pm

I think I messed up.......sorry guys, what did I miss to get rid of the search box from the header?

www.mtridersclub.co.uk

User avatar
Lumpy Burgertushie
Registered User
Posts: 66590
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Centre header image and remove text

Post by Lumpy Burgertushie » Mon Dec 14, 2015 3:26 am

I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

mtridersclb
Registered User
Posts: 86
Joined: Wed Oct 01, 2008 7:15 pm

Re: Centre header image and remove text

Post by mtridersclb » Mon Dec 14, 2015 7:24 am

Ok no worries, Ill go through it again for the 8th time lol - I just thought one of you might see the problem straight away. :-)

User avatar
Lumpy Burgertushie
Registered User
Posts: 66590
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Centre header image and remove text

Post by Lumpy Burgertushie » Mon Dec 14, 2015 3:00 pm

the reason I pointed you to the instructions that were given you above is because you have not done them yet.
if you go here:
view-source: http://www.mtridersclub.co.uk/styles/pr ... eader.html
view the source of that page, you will see that the changes have not been done.

if you have done them then you have not purged the cache after doing it.

you always have to purge the cache after making changes . also refresh your browser.


robert
Last edited by Lumpy Burgertushie on Tue Dec 15, 2015 7:03 am, edited 1 time in total.
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

mtridersclb
Registered User
Posts: 86
Joined: Wed Oct 01, 2008 7:15 pm

Re: Centre header image and remove text

Post by mtridersclb » Tue Dec 15, 2015 6:39 am

Thank you again, I had some them but perhaps saved them wrong.

mtridersclb
Registered User
Posts: 86
Joined: Wed Oct 01, 2008 7:15 pm

Re: Centre header image and remove text

Post by mtridersclb » Fri Dec 18, 2015 9:13 pm

Hi Chaps
Im still struggling here. I have checked and double checked SO many times now but its still not working.
The reason you couldnt see the amendments is because the board broke so I reinstated the back up overall_header. You can view the amended one that doesnt work here but if I run it, the forum just collapses into [image shown[:

view-source:http://www.mtridersclub.co.uk/styles/pr ... ended.html

Thanks as usual for reading this
Attachments
Screen Shot 2015-12-18 at 21.06.58.png

User avatar
Lumpy Burgertushie
Registered User
Posts: 66590
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Centre header image and remove text

Post by Lumpy Burgertushie » Fri Dec 18, 2015 9:33 pm

you have one to many closing </div>s. you missed one when you deleted the search box
best thing to do is delete the test file and start over. take a fresh overall_header.html file
be very careful, be exact, do not delete anything other than what is posted below and do not miss anything.

find and remove this:

Code: Select all

			<!-- 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 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>
			<!-- ENDIF -->
robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

mtridersclb
Registered User
Posts: 86
Joined: Wed Oct 01, 2008 7:15 pm

Re: Centre header image and remove text

Post by mtridersclb » Sat Dec 19, 2015 9:48 pm

HURRAH!
Thank you for your patience, I did it all over again and it now works, I get less confused each time.

NEXT QUESTION:
How to make the grey background fit better around the image?

THANK YOU!

Locked

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