HOW TO insert a logo image into the site header?

Talk and info about common issues

Moderators: ne_moj, zewa

administrator
Site Admin
Site Admin
Posts: 5930
Joined: Jan 7th, '09, 23:18
Contact:

HOW TO insert a logo image into the site header?

Postby administrator » Mar 12th, '12, 08:53

To add image into the site header/footer , you have to open

Code: Select all

templates/{your_template}/default.php

or

Code: Select all

templates/{your_template}/header.php


Find appropriate place in the page and write something like this:

Code: Select all

<div class="site_logo">
<img src="images/my_logo.png" />
</div>


Another way is to take your header wrapper, lets say it's <div id="logoTop">
and assign via CSS file a background image for it in a following way:

Code: Select all

#logoTop{
   background-image:url(../images/my_bg_image.png);
}

Return to “ApPHP MicroCMS {HOW TO}”