Remove site title & site description in header

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

Remove site title & site description in header

Post by kacper3355 » Sun Jan 18, 2015 8:23 pm

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: 2302
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 » Sun Jan 18, 2015 8:48 pm

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 » Sun Jan 18, 2015 9:03 pm

Looks like it's not working. Btw. i'm not using the prosilver template.

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 2302
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 » Sun Jan 18, 2015 9:12 pm

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 » Sun Jan 18, 2015 9:13 pm

Then it might be worth mentioning the style you are using.

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

Re: Remove site title & site description in header

Post by Lumpy Burgertushie » Sun Jan 18, 2015 9:13 pm

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
I am available for custom work on a donation basis. Please send me a PM with your needs.
Premium phpBB 3.2 Styles by PlanetStyles.net

New phpbb 3.0 support site

kacper3355
Registered User
Posts: 107
Joined: Wed Mar 05, 2014 11:48 pm

Re: Remove site title & site description in header

Post by kacper3355 » Sun Jan 18, 2015 9:17 pm

Check now: I removed it, refreshed the cache and I dont see any changes.

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 2302
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 » Sun Jan 18, 2015 9:19 pm

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 » Sun Jan 18, 2015 9:21 pm

Yes. I still can't see any changes :(

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 2302
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 » Sun Jan 18, 2015 9:27 pm

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 » Sun Jan 18, 2015 9:29 pm

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: 2302
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 » Sun Jan 18, 2015 9:33 pm

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 » Sun Jan 18, 2015 9:36 pm

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 » Sun Jan 18, 2015 9:38 pm

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: 2302
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 » Sun Jan 18, 2015 9:41 pm

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

Post Reply

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

Who is online

Users browsing this forum: No registered users and 9 guests

cron