I just want make that when I'll click logo of my website and it'll move to homepage. In which file can I make it?
Sorry for my language I hope you'll understand
Easy question - how to add link to logo
Re: Easy question - how to add link to logo
You have to hard-code it inside your template. Check template.htm of your chosen template.
Till
Till
Re: Easy question - how to add link to logo
[quote="johnnychat"]You have to hard-code it inside your template. Check template.htm of your chosen template.
Re: Easy question - how to add link to logo
You also can put a newsbox for the logo in your template and make a hiddne page with a logo graphic. Then you can simply make any link to the logo graphic (external with a target or internal). For me this seems to be more flexible.
In template:in your content:
This way you can put even more logos or grapics and keep the possibility to change/edit them easily withou the need to touch your template.
In template:
Code: Select all
<div class="your_logo_class"><?php echo newsbox('logo');?></div>
Code: Select all
<h1>logo</h1>
#cmsimple hide#
<a href="any_url_you_want" target="any_if_external_link"><img src="images/your_logo.jpg" alt="your_desription"></a>
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.