Instant website title
2 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: March 11, 2015 (RSS)
By kano - March 6, 2015
Is it possible to remove the black / white logo background in the Instant Website templates? And is it possible to replace the text logo with an image file?
Kjell Arne
Norway
Kjell
By Damon - March 11, 2015
Hi Kjell,
Yes, you can replace the text logo with an image by editing the index.php template. Open it up and find this code starting on line 43:
<!-- begin Logo -->
<div id="logo">
<h1>
<?php if ($website_config['logo_icon']): ?><img src="common/img/<?php echo $website_config['website_style'] ?>/<?php echo $website_config['website_style'] ?>-star-<?php echo $website_config['logo_bg'] ?>.gif" class="logoImg" alt=""/><?php endif ?>
<?php echo htmlspecialchars($website_config['website_name']) ?>
</h1>
</div>
<!-- end logo -->
Remove the code inside the <div id="logo"> and replace with your logo image.
Example:
<div id="logo">
<img src="img/logo.png" alt="site name"/>
</div>
The last step would be to remove the fields no longer used in CMS Builder:
- Logo Icon - Show icon (star) before logo text
- Logo Background
Hope this helps!
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/