Customising the JA Purity template/customisations/Changing the position of your logo

< J1.5:Customising the JA Purity template‎ | customisations(Redirected from Ja Purity Change postion of your logo)

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>/

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
  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