2
  • Joomla 3.6.5
  • Helix 3

I am using this template and what I am trying to do seems like it should be simple.

Currently I am displaying a logo similar to the default template, however I would also like to include a few words of text below the logo (the site slogan).

I can't find anywhere to do this, I have been searching through the code for specif <div> and id names but to no avail. I'm not sure what php file to edit.

In the Helix template settings I can only select to either show a logo or text - not both.

The html logo code (as you can check for yourself) is as follows;

<div class="col-xs-8 col-sm-3 col-md-3" id="sp-logo">
    <div class="sp-column">
        <h1 class="logo"><a href="/2015/helix3/"><img alt="Helix3 Framework" class="sp-default-logo" data-pin-nopin="true" src="/2015/helix3/templates/shaper_helix3/images/presets/preset1/logo.png"><img alt="Helix3 Framework" class="sp-retina-logo" height="48" src="/2015/helix3/templates/shaper_helix3/images/presets/preset1/logo@2x.png" width="145"></a></h1>
    </div>
</div>

Helix don't provise free support which is why I'm here.

Any ideas?

  • Link to the template is broken :) – Lodder Jan 31 '17 at 12:59
  • I've just tried adding a span inside the <a> in the web inspector and it's working perfectly fine. Are you sure you're editing the correct file? I think it should be plugins\system\jat3\jat3\base-themes\default\blocks\header.php – Lodder Jan 31 '17 at 13:17
  • Oh balls, sorry. Wrong file. Try templates/shaper_helix3/features/logo.php – Lodder Jan 31 '17 at 14:18
  • Oh really? I just downloaded the template and features directory was part of the template. Would you be able to zip up the template so I can take a look? – Lodder Jan 31 '17 at 14:30
  • 1
    Nah dont worry, you go for it and you'll get my upvote ;) – Lodder Jan 31 '17 at 14:54
2

The file I had to edit was located at templates/shaper_helix3/features/logo.php (thanks to @Lodder for a point in the right direction!).

In this file at around line 56 you will see that start of the logo html code. It's possible to add custom html here.

p.s - I initially couldn't see the templates/shaper_helix3/features directory as I was using Netbeans and my project had become corrupted. I removed the project and set it up again and the directory was there - strange but it worked.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.