This can be used to replace the default logo with text in OpenCart. This uses VQMod so no core files are changed.
<modification>
<id>Replace Logo with Text</id>
<version>1.1</version>
<vqmver>1.0.3</vqmver>
<author>Nick Shaw</author>
<file name="catalog/view/theme/*/template/common/header.tpl">
<operation error="log">
<search position="after"><![CDATA[<div id="header">]]></search>
<add><![CDATA[<div id="logo"><p class="textlogo" style="color: #333333; font-size: 35px; font-weight: bold; margin:0px 0px 5px 0px;"><?php echo $this->config->get('config_name'); ?></p> <p>Company Tag Line</p></div>]]></add>
</operation>
</file>
</modification>
Clear the Logo area for this to work
System > Settings > Edit > Image > Store Logo > Clear Image
Download the VQMod here.
Recent Comments