[support] How to have different Primary Linksondifferentsections

Laura Scott laura at pingv.com
Wed Dec 6 17:35:35 UTC 2006


On Dec 6, 2006, at 9:05 AM, Jody Cleveland wrote:
> How do I control what gets displayed for that one menu? The biggest
> thing is I don't want this <p class="sidebar-title-noshade
> bg-blue07">Teen Zone</p>

There are a couple of ways to do this. One is to use or add divs  
holding your $header display, so you can use regular block classes,  
or you can write rules for specific blocks. Each block has an id,  
which you can see in reveal codes on the rendered page.

Either way, you can then override the default formatting for the  
blocks in that area. Such as:

#block-menu-foo h2 {
	display: none;
	}

This would hide the display of the header (title) of the block with  
the ID block-menu-foo.

For the paragraph content you mention, you can hide it by adding:

p.sidebar-title-noshade.bg-blue07 {
	display: none;
	}

I'm not sure why a block would have "sidebar" in its classes as it's  
not very semantic, but I'm not familiar with that theme.

Laura



More information about the support mailing list