0

Currently, my logo is displayed as so in my template:

<div id="sp-logo" class="span4">
  <div class="logo-wrapper">
    <a href="/">
      <div style="width:300px; height:75px;" class="logo"></div>
    </a>
  </div>
</div>

Where the logo is rather set as a background image for the div #logo. I need to change logo component code as such the logo would be displayed as an image (e.g.):

<div id="sp-logo" class="span4">
  <div class="logo-wrapper">
    <a href="/">
      <img src="http://imageurl/image.png" />
    </a>
  </div>
</div>

I couldn't find such file in the template files, nor at Module manager. So where does Joomla hide such component files.

Note: Joomla version 2.51, template using Helix II

5
  • 1
    Joomla 2.5.1 and your site isn't hacked yet?
    – FFrewin
    Commented May 5, 2016 at 13:44
  • The organization I am developing for does not want to upgrade PHP and MYSQL to support Joomla 3, regardless of how much I insisted on it.
    – Ken
    Commented May 5, 2016 at 13:49
  • 2
    Maybe you didn't make them clear what the consequences will be if they keep using outdated software. Also older versions of PHP are also insecure and not maintained any more. Whatever the case, even if upgrading PHP is not an option at the moment, you can still update to Joomla 2.5.28 and apply the required patches.
    – FFrewin
    Commented May 5, 2016 at 14:06
  • I was pretty clear with my description of the issues, and provided them references as a proof. Sadly they believe I am exaggerating. I will upgrade to 2.5.28 indeed, wasn't aware of the fixed issues at this version.
    – Ken
    Commented May 5, 2016 at 14:15
  • 2
    just follow the recommended practices for updating to 2.5.28 - aka first backup the site (files/database) and make sure the backup is workable = can be restored. Remember to also keep your extensions updated. I would suggest using Akeeba Backup: akeebabackup.com/products/akeeba-backup.html
    – FFrewin
    Commented May 5, 2016 at 14:20

1 Answer 1

2

First of all update at least to Joomla 2.5.28 and apply the required patches.

More info here:

As for what you want to do, simply disable the logo feature from the template settings, and instead create a Custom HTML module containing your logo image only - name it Logo for your convenience, remember to set module's title to Hide and place it on the Logo position of your template.

If you want to go further with it, you can read on the Helix documentation

2
  • Nice workaround, was thinking of something more from the template to be user for the end user, still, solves the issue indeed.
    – Ken
    Commented May 5, 2016 at 14:12
  • @Ken, for only using an image element in this case, the above solution is sufficient. No need to mess with modifying the template etc.
    – FFrewin
    Commented May 5, 2016 at 14:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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