Remove site title & site description in header

For support and discussion related to templates, themes, and imagesets in phpBB 3.1.
Anti-Spam Guide
kacper3355
Registered User
Posts: 107
Joined: Wed Mar 05, 2014 11:48 pm

Remove site title & site description in header

Post by kacper3355 »

Hello. How can i remove site title and site description in style header?
Here's my site - http://goo.gl/OM3ivb
Thank you for any help.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6677
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Remove site title & site description in header

Post by HiFiKabin »

Using a text editor

Open

styles/prosilver/template/overall_header.html

Find and delete

Code: Select all

         <div id="site-description">
            <a id="logo" class="logo" href="<!-- IF U_SITE_HOME -->{U_SITE_HOME}<!-- ELSE -->{U_INDEX}<!-- ENDIF -->" title="<!-- IF U_SITE_HOME -->{L_SITE_HOME}<!-- ELSE -->{L_INDEX}<!-- ENDIF -->">{SITE_LOGO_IMG}</a>
            <h1>{SITENAME}</h1>
            <p>{SITE_DESCRIPTION}</p>
            <p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
         </div>
save and upload the file, purge the cache, purge your browsers cache and all should be as you want.

Remember to back up the file first, just in case it goes wrong
kacper3355
Registered User
Posts: 107
Joined: Wed Mar 05, 2014 11:48 pm

Re: Remove site title & site description in header

Post by kacper3355 »

Looks like it's not working. Btw. i'm not using the prosilver template.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6677
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Remove site title & site description in header

Post by HiFiKabin »

You need to find a similar block of code within the overall_header.htmlof the template you are using.
User avatar
SGMonkey
Registered User
Posts: 61
Joined: Mon Mar 24, 2014 5:57 pm
Location: UK

Re: Remove site title & site description in header

Post by SGMonkey »

Then it might be worth mentioning the style you are using.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Remove site title & site description in header

Post by Lumpy Burgertushie »

you did not remove the code from the prosilver/overall_header.html file.

and yes, you are using prosilver. the se_square style inherits from prosilver and it only has two template files in it. all the rest of from prosilver.


you have to make the edits then purge the cache and then refresh your browser.

right now, the code he told you to remove is still there, I can see it when I view the source of this page:
http://forum.sdgr.pl/styles/prosilver/t ... eader.html

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
kacper3355
Registered User
Posts: 107
Joined: Wed Mar 05, 2014 11:48 pm

Re: Remove site title & site description in header

Post by kacper3355 »

Check now: I removed it, refreshed the cache and I dont see any changes.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6677
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Remove site title & site description in header

Post by HiFiKabin »

have you refreshed your browser cache?

(press ctrl+f5 at the same time)
kacper3355
Registered User
Posts: 107
Joined: Wed Mar 05, 2014 11:48 pm

Re: Remove site title & site description in header

Post by kacper3355 »

Yes. I still can't see any changes :(
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6677
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Remove site title & site description in header

Post by HiFiKabin »

You haven't uploaded the changed file as I can still see the code on your index page
kacper3355
Registered User
Posts: 107
Joined: Wed Mar 05, 2014 11:48 pm

Re: Remove site title & site description in header

Post by kacper3355 »

Hmm, I uploaded the file... I can see the changes here - http://forum.sdgr.pl/styles/prosilver/t ... eader.html but i can't see them on forum page.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6677
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Remove site title & site description in header

Post by HiFiKabin »

what happens if you switch styles to prosilver?
kacper3355
Registered User
Posts: 107
Joined: Wed Mar 05, 2014 11:48 pm

Re: Remove site title & site description in header

Post by kacper3355 »

When i switch to prosilver everything dissapears (logo & site title and description).
kacper3355
Registered User
Posts: 107
Joined: Wed Mar 05, 2014 11:48 pm

Re: Remove site title & site description in header

Post by kacper3355 »

Oups, I switched again to the first style and everything dissapeared from the header. So i guess the code is almost perfect, but it removes logo also. (I removed the changes in overlall_header for now)
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6677
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Remove site title & site description in header

Post by HiFiKabin »

so the edits are correct.

disable se_square in the ACP, clear the cache in the ACP, re enable se_square and see if its working now.

edit:- sorry I thought that was whet you wanted. So you want to keep the logo, but lose the site name?

From the unedited file you saved find and delete

Code: Select all

            <h1>{SITENAME}</h1>
            <p>{SITE_DESCRIPTION}</p>
save, upload and do all the clearing cache, then check its OK in prosilver before reverting to se_square
Locked

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