Editing the logo link destination in joomla (yooth

2019-09-02 07:17发布

问题:

I'm trying to edit the default logo link destination in joomla (using yootheme's warp 7).

Currently it links to the default homepage, whereas I'd like it to link elsewhere.

I can edit the logo's CSS just fine, and I can also access the module that contains the logo.

However, the link seems to be wrapped around the module itself.

<a class="tm-logo" href="mysite.html">

<div class="mysite-logo">
    <img alt="My Website" src="/mysite/images/yootheme/demo/default/logo.svg"></img>
</div>

If I could edit the html directly, that would be awesome, but that doesn't seem to be an option. And when I try to give the image a link via the module manager, things break pretty hard.

If anyone could point me in the right direction it would be much appreciated

回答1:

Figured it out.

Go to your template manager -> customize template -> edit theme.php

search for "tm-logo", and change the href of that line to whatever link you like.



标签: html css joomla