[themes] Making node/Content title invisible, "read more" invisible

pat at soligsoft.com pat at soligsoft.com
Mon Feb 7 19:44:01 UTC 2011


Hi,

My answers are:

h2.node-title  {display:  none;}
div.node-links{display:  none;}

Thanks,

PChuprina

> Your theme may have a different class assigned to the "Read more" text.  A
> theme I just looked at, for example, uses "node_read_more".  Setting
> whatever class you've got on that text to "display: none" is likely the
> easiest way not to display this text.
>
> You can use the same technique to hide the title from a page or node
> display, but be careful about the scope of the CSS selector.  The class
> "title" will probably address not only the titles on the node pages, but
> also likely on your node lists.  This will vary by theme, so you will have
> to look.  You can also remove the printing of the $title variable from the
> node and/or page .tpl files, but again this may be a broader stroke than
> you
> wish.
>
> bc




More information about the themes mailing list