Editing the logo link destination in joomla (yootheme warp 7)

天大地大妈咪最大 提交于 2020-01-17 03:52:05

问题


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.



来源:https://stackoverflow.com/questions/25060155/editing-the-logo-link-destination-in-joomla-yootheme-warp-7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!