J1.5:Customising the JA Purity template/customisations/Resizing the header
From Joomla! Documentation
< J1.5:Customising the JA Purity template | customisations(Difference between revisions)
m (Added categorisation.) |
(Added a number of images and eliminated logo specific text) |
||
| Line 1: | Line 1: | ||
| − | + | 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 file, template.css is in the following directory:<br /> |
| + | <pre> | ||
| + | templates/ja_purity | ||
| + | css/ | ||
| + | template.css | ||
| + | </pre> | ||
| + | |||
| + | 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> | ||
| + | |||
| + | 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 [[Image:JA_Purity_Tutorial_TemplateManager0.jpg|thumb|right]] | ||
| + | # Click on your version of the JA purity template or | ||
| + | # Click the Edit button | ||
| + | # Click the CSS Editor icon in the upper right [[Image:JA Purity Tutorial EditCssButton.png|thumb|right]] | ||
| + | # Near line 921 you will find: | ||
#: <pre> | #: <pre> | ||
#: /* HEADER | #: /* HEADER | ||
| Line 25: | Line 46: | ||
#: right: -1px; | #: right: -1px; | ||
#: }</pre> | #: }</pre> | ||
| − | # | + | # Change the above values to the desired height of the header. |
| − | + | #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. | |
| − | + | ||
| − | + | 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]]. | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | [[Category:Procedures]] | |
| + | [[Category:Beginners]] | ||
| + | [[Category:Templates]] | ||
Revision as of 04:24, 27 May 2009
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 file, template.css is in the following directory:
templates/ja_purity
css/
template.css
If you've been following the tutorial you can download a tutorial version of the template that installs to the following directory:
templates/my_japurity
css/
template.css
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 CSS Editor icon in the upper right
- 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 the above values to the desired height of the header.
- Finished
Now that you've changed the size of the header you probably want to update the header pictures and the logo to match the new size.
If you prefer to keep the current size of your logo you may want to change it's position.


