Hello,
In opencart 2 I did know how I could add an alt image tag to my store logo, but on OC 3 I do not know how...
So...
How can I add an alt image tag to my store logo?
Edit the header.twig file:
catalog/view/theme/default/template/common/header.twig
Around line 81
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo
In OC 3.0.2 already are added in file: catalog/view/theme/default/template/common/header.twig
'title' and 'alt' tags
'title' and 'alt' tags
Code: Select all
<div class="col-sm-4">
<div id="logo">{% if logo %}<a href="{{ home }}"><img src="{{ logo }}" title="{{ name }}" alt="{{ name }}" class="img-responsive" /></a>{% else %}
<h1><a href="{{ home }}">{{ name }}</a></h1>
{% endif %}</div>
</div>
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Who is online
Users browsing this forum: Google [Bot], Semrush [Bot] and 77 guests