Hide page title (H1) on particular pages?

5 messages Options
Embed this post
Permalink
Kirby Knight () Hide page title (H1) on particular pages?
Reply Threaded More More options
Print post
Permalink
Periodically, especially when I'm doing a more graphical home page, I'd like to hide the page title (the H1 tag, not the title bar) on a particular page. Is there a way to do that? I'm on Plone 3.

Thanks,
Kirby
eleddy () Re: Hide page title (H1) on particular pages?
Reply Threaded More More options
Print post
Permalink
The standards compliant way is to use css and give that header a
specific id to hide.  I guess that depends though if you are doing TTW
development or editing templates. TTW (i.e. kupu) hides a lot of stuff
and maybe you could do something trickier like add javascript to the
body which hides all h1s in the page.

Of course, a custom/derived content type or template is the correct
way to do this but in real world maybe a js/css hack is best.

hth!

On Oct 1, 7:36 am, Kirby Knight <[hidden email]> wrote:

> Periodically, especially when I'm doing a more graphical home page, I'd like
> to hide the page title (the H1 tag, not the title bar) on a particular page.
> Is there a way to do that? I'm on Plone 3.
>
> Thanks,
> Kirby
> --
> View this message in context:http://n2.nabble.com/Hide-page-title-%28H1%29-on-particular-pages--tp...
> Sent from the General Questions mailing list archive at Nabble.com.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Plone-Users mailing list
> [hidden email]://lists.sourceforge.net/lists/listinfo/plone-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Jon Stahl () Re: Hide page title (H1) on particular pages?
Reply Threaded More More options
Print post
Permalink
In reply to this post by Kirby Knight

Kirby Knight wrote:
Periodically, especially when I'm doing a more graphical home page, I'd like to hide the page title (the H1 tag, not the title bar) on a particular page. Is there a way to do that? I'm on Plone 3.
something like CSS code:

.section-homepage h1 {
 display: none;
}

Key idea: plone's homepage has the CSS class "section-homepage" attached to it.  other top-level folders have .section-shortnameoffolder

:jon
-----
Jon Stahl, Director of Web Solutions
ONE/Northwest - Online Networking for the Environment
http://www.onenw.org
Kirby Knight () Re: Hide page title (H1) on particular pages?
Reply Threaded More More options
Print post
Permalink

Jon Stahl wrote:
something like CSS code:

.section-homepage h1 {
 display: none;
}

Key idea: plone's homepage has the CSS class "section-homepage" attached to it.  other top-level folders have .section-shortnameoffolder

:jon
Thanks, Jon. That was very close: the class is actually "section-front-page", but I never would've known about that if you hadn't headed me in the right direction. Appreciate it.

Now, the follow-up question: can this be done on other random pages other than the home page? Is there some trick that would allow it to only happen on one particular interior page?

Thanks again.
nikpan () Nikhil Panchal/International/FRAGOMEN is out of the office.
Reply Threaded More More options
Print post
Permalink
In reply to this post by eleddy

I will be out of the office starting  04/10/2008 and will not return until
07/10/2008.

I will respond to your message when I return.