Monday, 20 July 2009 23:51

contentheading

Ansichten:
  • com_content/category
  • com_content/article
  • com_content/frontpage
  • com_content/section
CSS Code: .contentheading { background-color: yellow; border: 1px solid red; }
HTML Ansicht: CSS Guide
HTML Code: {codecitation class="gutter: false;width:100%;"}

CSS Guide

{/codecitation}
Joomla PHP Code:
<?php if ($this->params->get('show_title')) : ?>
<h2 class="contentheading">
<?php if ($this->params->get('link_titles') && $this->article->readmore_link != '') : ?>
<a href="" class="contentpagetitle">
<?php echo $this->article->title; ?></a>
<?php else :
echo $this->escape($this->article->title);
endif; ?>
</h2>
<?php endif; ?>
Published in Joomla CSS Guide