Changing the Joomla site Logo to point to another page instead of home page

685 views Asked by At

I have a site in Joomla which I cannot find the File that will allow me to change the Link of the Site logo to point to another page instead of the Home page. I went into template extension but I find no option, can someone point me to the file please.

I am using the youretro Joomla Template the peach style. inside peach.css

#logo a{
    background:url(../images/peach/logo.png) no-repeat left top;

do I need to add link in here? will it overwrite the old one?

www.divine-culture.com

2

There are 2 answers

0
isherwood On

The docs for the template have all you need to know. Very few Joomla templates would require you to modify php files to change a logo, and you can't change a link with CSS.

There are 2 ways of changing your website logo. Overriding existing logo.png located in site_root/templates/template_name/images/style_name/ folder or uploading new logo trough template manager.

Option 1:

Now replace existing logo.png file name in site_root/templates/template_name/images/style_name folder with new logo....

Option 2:

Go to template manager tab name Layout hover over existing logo than click on tool icon the logo settings panel will drop down. Click on Select button and select or upload your new logo....

2
David Taiaroa On

To answer your question

I am using the youretro Joomla Template the peach style. inside peach.css ... do I need to add link in here? will it overwrite the old one?

This is a CSS file and isn't any help if you want to change the default home page link.

A couple of ideas for you.

If you know how to work with jQuery, or if your template lets you add your own custom jQuery, you could try

$('#logo a').attr('href', 'http://www.alternate-link.com');  

This will overwrite the home page link with http://www.alternate-link.com

Alternatively, you could open the template > youretro > index.php file, locate the HTML for the header and then the logo link. You might be able to manually change this HREF. You can also do this via the backend from Extenstions > Template manager > templates tab > Template > Edit main page template.

Not that if you do either of the second options, there's the risk that your customisation will be overwritten if you update the template.

Good luck!