J1.5

Difference between revisions of "Customising the Beez template/header/logo"

From Joomla! Documentation

< J1.5:Customising the Beez template‎ | header
m (→‎Secondary Classes: clean up - archiving)
m (→‎Secondary Classes: archiving articles with category removal and addition)
 
Line 172: Line 172:
 
{{:Customising the Beez template/CSS/position.css/*}}
 
{{:Customising the Beez template/CSS/position.css/*}}
  
[[Category:Archived Beez article]]
+
 
[[Category:Archived Beez article]]
+
 
 +
[[Category:Archived version Joomla! 1.5|{{PAGENAME}}]]

Latest revision as of 09:22, 29 April 2013

The "J1.5" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

HTML Reference[edit]

<!-- index.php line 43-46 -->

<h1 id="logo">
    <img src="<?php echo $this->baseurl ?>/templates/beez/images/logo.gif" border="0" alt="<?php echo JText::_('Logo Beez, Three little Bees'); ?>" width="300" height="97" />
    <span class="header1"><?php echo JText::_('Joomla Accessible Template'); ?></span>
</h1>

Replace the Image[edit]

Replace the path

/templates/beez/images/logo.gif

or upload a new "logo.gif" with your ftp client

Replace the alt text[edit]

JText::_('Logo Beez, Three little Bees');

Search the language file en-GB.tpl_beez.ini for "LOGO BEEZ, THREE LITTLE BEES=Logo Beez, Three little Bees" and edit it:

/* #### en.GB.tpl_beez.ini line 18 #### */

LOGO BEEZ, THREE LITTLE BEES=Your text here!

Replace the headline text[edit]

JText::_('Joomla Accessible Template');

Search the language file en-GB.tpl_beez.ini for "JOOMLA ACCESSIBLE TEMPLATE=Joomla! accessible Template" and edit it:

/* #### en.GB.tpl_beez.ini line 15 #### */

JOOMLA ACCESSIBLE TEMPLATE=Your text here!

CSS Reference[edit]

[edit]

The following classes and ids will influence the "box" enclosing the image and the text. Please notice the ordering. Every CSS attribute will be overwritten by the class above.

Main Class[edit]

/* #### layout.css line 137-146 #### */

#logo
{
    font-size:1em !important;
    font-weight:bold !important;
    position:relative;
    text-align:left;
    text-transform:none !important;
    z-index:0;
    margin-top:1em;
}
Storage location: layout.css

Secondary Classes[edit]

/* #### position.css line 128-137 #### */

#logo
{
    font-size: 1em !important;
    font-weight: bold !important;
    position: relative;
    text-align: left;
    text-transform: none !important;
    z-index: 0;
    margin-top: 1em;
}
Storage location: position.css
/* #### layout.css line 130-135 #### */

#header h1
{
    font-size:1.5em;
    font-weight:normal;
    text-transform:uppercase;
}
Storage location: layout.css
/* ##### position.css line 15-19 #### */

*
{
    margin: 0;
    padding: 0;
}
Further information: position.css/*
Storage location: position.css

#logo img[edit]

The following classes and ids will influence the image itself. Please notice the ordering. Every CSS attribute will be overwritten by the class above.

Main Class[edit]

/* #### layout.css line 148-151 #### */

#logo img
{
    display:block;
}
Storage location: layout.css

Secondary Classes[edit]

/* ##### position.css line 139 #### */

#logo  img { display: block; }
Storage location: position.css
/* ##### position.css line 15-19 #### */

*
{
    margin: 0;
    padding: 0;
}
Further information: position.css/*
Storage location: position.css

#logo span[edit]

The following classes and ids will influence the Text below the image. Please notice the ordering. Every CSS attribute will be overwritten by the class above.

Main Class[edit]

/* ##### layout.css line 153-158 #### */

#logo span
{
    display:block;
    margin:0 0 2px 100px !important;
    border-bottom:solid 1px #666;
}
Storage location: layout.css

Secondary Classes[edit]

/* ##### position.css line 141-146 #### */

#logo span
{
    display: block;
    margin: 0px 0 0 100px !important;
    border-bottom: solid 1px #666;
}
Storage location: position.css
/* ##### position.css line 15-19 #### */

*
{
    margin: 0;
    padding: 0;
}
Further information: position.css/*
Storage location: position.css