Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Category List Page Heading

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi Guys,
how can I get the CategoryList view to display a head like the CategoryBlog or Article or nearly every other page type I've looked at?

e.g. on your demo the Category Blog page has a nice Nebula heading, but on the Category List page — no heading, and believe me I've tried all the options.

Is this an oversight in the template? Can you tell me in which template file to make the necessary changes in?

Cheers

Craig
  • cppl's Avatar
  • cppl
  • LIfetime Developer - Big Bamboo
  • 4 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Craig,

Could clarify what you mean by "a head" - do you have a link for the page/pages?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,
that should have been "a heading"

I thought the two links I provided to the JoomlaBamboo demo of Nebula show the problem pretty clearly.
e.g. on your demo the Category Blog page has a nice Nebula heading, but on the Category List page — no heading, and believe me I've tried all the options.

To be clearer the Blog page linked above has "News #4" the List page has nothing.

The Blog page wraps the page heading in the following code:
<header class="article-header clearfix">
		<h2 class="article-title">
						<a href="/showcase/jul13/template-layouts/joomla/category-blog/18-news-4"> News #4</a>
					</h2>
	</header>

Whereas the List page doesn't, it just returns standard Joomla core output.
  • cppl's Avatar
  • cppl
  • LIfetime Developer - Big Bamboo
  • 4 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

ah right - sorry - was getting confused about the image

Can you set page display for the menu link to yes in the menu link advanced options tab

Then add this styling to your custom.css file

.category-list h1 {
padding-left: 20px;
font-size: 2em;
text-shadow: 1px 1px 0 #fff;
line-height: 2em;
margin-top: -55px;
padding-bottom: 3px;
margin-bottom: 30px;
background: #fafafa;
background-color: #fcfcfc;
background-image: -moz-linear-gradient(top,#fafafa,#fff);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#fafafa),to(#fff));
background-image: -webkit-linear-gradient(top,#fafafa,#fff);
background-image: -o-linear-gradient(top,#fafafa,#fff);
background-image: linear-gradient(to bottom,#fafafa,#fff);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa', endColorstr='#ffffffff', GradientType=0);
border-top: 1px solid #fff;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
border-bottom: 2px solid #eaeaea;
}

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers