Difference between revisions of "Customising the JA Purity template/customisations/Changing the position of your logo"
From Joomla! Documentation
< J1.5:Customising the JA Purity template | customisations
m |
m (Ja Purity Change position of your logo moved to Customising the JA Purity template/customisations/Changing the position of your logo: Moved page to a subpage of Customising the JA Purity template/customisations for consistency) |
(No difference)
|
Revision as of 15:38, 15 January 2011
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.
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
- Click the template.css radio button
- Click the Edit button to begin editing template.css
- Near line 957 you will find:
- h1.logo a {
- width: 208px;
- display: block;
- background: url(../images/logo.png) no-repeat;
- height: 80px;
- position: absolute; <---- EDIT THIS
- top: 10px; <---- ADD THIS
- left: 10px; <---- ADD THIS
- z-index: 100;
- }
- In the line you added place the logo image in the position you prefer.
- Next you'll also want to modify the position of the text version of your logo...
- Near line 957 you will find:
- h1.logo-text a {
- color: #CCCCCC !important;
- text-decoration: none;
- outline: none;
- position: absolute;
- bottom: 40px; <---- EDIT THIS
- left: 5px; <---- EDIT THIS
- }
- p.site-slogan {
- margin: 0;
- padding: 0;
- padding: 2px 5px;
- color: #FFFFFF;
- background: #444444;
- font-size: 92%;
- position: absolute;
- bottom: 20px; <---- EDIT THIS
- left: 0; <---- EDIT THIS
- }
- Edit the lines above to place the image in the position your prefer
- Finished