J1.5:Customising the JA Purity template/customisations/Changing the position of your logo
From Joomla! Documentation
< J1.5:Customising the JA Purity template | customisations(Difference between revisions)
m |
m (Adjusted category) |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{:Customising the JA Purity template/tutorialtemplate|template.css|<pre> | |
| − | + | <location of template>/ | |
| + | 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 [[Image:JA Purity Tutorial EditButton.jpg|tumb|right]] | ||
| + | #Click the CSS Editor icon in the upper right [[Image:JA Purity Tutorial EditCssButton.png|thumb|right]] | ||
| + | #Click the template.css radio button [[Image:JA Purity Tutorial TemplateCss.jpg|thumb|right]] | ||
| + | #Click the Edit button to begin editing template.css | ||
| + | #Near line 957 you will find: | ||
#: <pre> | #: <pre> | ||
#: h1.logo a { | #: h1.logo a { | ||
| Line 12: | Line 26: | ||
#: z-index: 100; | #: z-index: 100; | ||
#: }</pre> | #: }</pre> | ||
| − | # | + | #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: | |
| − | + | ||
| − | + | ||
#: <pre> | #: <pre> | ||
#: h1.logo-text a { | #: h1.logo-text a { | ||
| Line 38: | Line 50: | ||
#: left: 0; <---- EDIT THIS | #: left: 0; <---- EDIT THIS | ||
#: }</pre> | #: }</pre> | ||
| − | # | + | #Edit the lines above to place the image in the position your prefer |
| − | # | + | #Finished |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
Revision as of 17:02, 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
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


