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
Monday, 20 July 2009 23:51

buttonheading

Ansichten:
  • com_content/category
  • com_content/article
  • com_content/frontpage
  • com_content/section
CSS Code:
p.buttonheading {
text-align:right;
}
 
.buttonheading img
{
border:0;
}
 
p.buttonheading a:link,p.buttonheading a:visited
{
border:solid 2px #fff;
}
 
.leading p.buttonheading a:link,.leading p.buttonheading a:visited
{
border:solid 2px #EFDEEA;
}
 
p.buttonheading a:hover
{
background:none !important;
color:#000 !important;
}
 
p.buttonheading a:active,p.buttonheading a:focus
{
border:solid 2px;
color:#000;
}

Joomla PHP Code:
<p class="buttonheading">
<?php if ($this->print) :
echo JHTML::_('icon.print_screen', $this->article, $this->params, $this->access);
elseif ($this->params->get('show_pdf_icon') || $this->params->get('show_print_icon')
 || $this->params->get('show_email_icon')) : ?>
<img src="/templates/beez/images/trans.gif" alt="" />
<?php if ($this->params->get('show_pdf_icon')) :
echo JHTML::_('icon.pdf', $this->article, $this->params, $this->access);
endif;
if ($this->params->get('show_print_icon')) :
echo JHTML::_('icon.print_popup', $this->article, $this->params, $this->access);
endif;
if ($this->params->get('show_email_icon')) :
echo JHTML::_('icon.email', $this->article, $this->params, $this->access);
endif;
endif; ?>
</p>
Published in Joomla CSS Guide