By Jason Conn on Tuesday, 08 May 2018
Posted in General
Likes 0
Views 538
Votes 0
Please tell me how to modify the template logo for elegant in index.php. I know the code I have to replace, but I don't know what to replace it with? I cant find the thread that outlined the process. Thanks for your help!
Hi there,

Currently, on Elegant template we not using logo and we are using page title as you can set here http://take.ms/sTHPb

if you wanted to include logo for your Elegant template, you can edit this file .../templates/elegant/index.php under codes below.

[gist type="php"]
<a class="navbar-brand" href="/">
<?php if ($this->params->get('show_heading_title', true)) { ?>
<?php echo JText::_($this->params->get('title', 'Elegant'));?>
<?php } ?>
</a>
[/gist]
·
Tuesday, 08 May 2018 10:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Yea thanks for the reply! I appreciate it. But as I mentioned I'm not sire what to replace the code with? DO I just use an image tag?
·
Tuesday, 08 May 2018 18:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, that is correct. In short you could just replace the codes below:

[gist]
<?php if ($this->params->get('show_heading_title', true)) { ?>
<?php echo JText::_($this->params->get('title', 'Elegant'));?>
<?php } ?>
[/gist]

With,

[gist]
<img src="/path/to/image" />
[/gist]
·
Wednesday, 09 May 2018 00:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark
·
Thursday, 10 May 2018 03:48
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Thursday, 10 May 2018 04:09
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post