If you've been following the [[Tutorial:Customising_the_JA_Purity_template|tutorial]] you can download a tutorial version of the template that installs to the following directory:<br/>

+

−

<pre>

+

−

templates/my_japurity

+

−

css/

+

−

template.css

+

−

</pre>

+

This article will help you alter the height of the header.

This article will help you alter the height of the header.

Line 52:

Line 43:

#Finished

#Finished

−

Now that you've changed the size of the header you probably want to [[Replace the header pictures in JA Purity|update the header pictures]] and the [[Replace the JA Purity Joomla! Logo|logo]] to match the new size.

+

Now that you've changed the size of the header you probably want to [[Customising the JA Purity template/customisations/Replacing the header pictures|update the header pictures]] and the [[Customising the JA Purity template/customisations/Replacing the Joomla! Logo|logo]] to match the new size.

−

+

−

If you prefer to keep the current size of your logo you may want to change it's [[Ja Purity Change postion of your logo|position]].

+

−

<noinclude>

+

If you prefer to keep the current size of your logo you may want to change its [[Customising the JA Purity template/customisations/Changing the position of your logo|position]].

−

[[Category:Beginners]]

+

−

[[Category:JA Purity template]]

+

−

[[Category:Tutorials]]

+

−

</noinclude>

+

Revision as of 16:21, 15 January 2011

This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

The original JA Purity template was provided from JoomlArt.com as a zip but the latest files have been installed along with Joomla. The relevant files, template.css, can be found in templates/ja_purity. If you've been following the tutorial, you can download a tutorial version of the template that installs to the templates/my_japurity folder. Inside the folder of the template, the files are located as follows:

<location of template>/
css/
template.css

This article will help you alter the height of the header.

You can edit the CSS file directly in your choice of plain text editors such as VI or Notepad or you can use the CSS Editor provided in the Joomla Administration area.

To use the Joomla editor just log into the Administration area of your site

Open the Template Manager

Click on your version of the JA purity template or Click the Edit button

Click the Edit CSS icon in the upper right

Click the template.css radio button

Click the Edit button to begin editing template.css

Near line 921 you will find:

/* HEADER

--------------------------------------------------------- */

#ja-headerwrap {

background: #333333;

color: #CCCCCC;

line-height: normal;

height: 80px; <---- EDIT THIS

}

#ja-header {

position: relative;

height: 80px; <---- EDIT THIS

}

.ja-headermask {

width: 602px;

display: block;

background: url(../images/header-mask.png) no-repeat top right;

height: 80px; <---- EDIT THIS

position: absolute;

top: 0;

right: -1px;

}

Change all of the above values to the same value of the desired height of the header.