J1.5

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 (archiving articles with category removal and addition)
 
(5 intermediate revisions by 3 users not shown)
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.
+
{{:Customising the JA Purity template/tutorialtemplate|template.css|<pre>
The relevant file, template.css is in the following directory:<br />
+
     <location of template>/
<pre>
+
        css/
     templates/ja_purity
+
            template.css
                css/
+
</pre>}}
                    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.  
 
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.  
Line 62: Line 53:
 
#Finished
 
#Finished
  
<noinclude>
+
[[Category:Archived version Joomla! 1.5|{{PAGENAME}}]]
[[Category:Beginners]]
 
[[Category:JA Purity template]]
 
[[Category:Tutorials]]
 
</noinclude>
 

Latest revision as of 09:25, 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.

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.

  1. To use the Joomla editor just log into the Administration area of your site
  2. Open the Template Manager
    JA Purity Tutorial TemplateManager0.jpg
  3. Click on your version of the JA purity template or
  4. Click the Edit button
    tumb
  5. Click the CSS Editor icon in the upper right
    JA Purity Tutorial EditCssButton.png
  6. Click the template.css radio button
    JA Purity Tutorial TemplateCss.jpg
  7. Click the Edit button to begin editing template.css
  8. 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;
    }
  9. In the line you added place the logo image in the position you prefer.
  10. Next you'll also want to modify the position of the text version of your logo...
  11. 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
    }
  12. Edit the lines above to place the image in the position your prefer
  13. Finished