Forums

[resolved] Adding a banner in header right hand area (2 posts)

  1. Bliss7
    Member
    Posted 5 years ago #

    I'm feeling like styling my blog to include a banner in the header area to the right hand of the header area, but I'm not sure how its done.

    Most themes have the header background image (usually a monotone color) streching the entire breadth of the page display.

    What I would like to do is make the header and title really smaller and just occupying 20% of the page header area in the left hand side.
    And add a banner (resized accordingly) to the remainder area (which is to the right hand side) of the header.

    Do I need to edit the header.php and style.css files?
    I'm using a K2 derived theme which is three columns.

    If someone can post a sample code(s) to use, that would really help. Is it by adding a new <div id> in header.php and specifying in the CSS also?

    Thanks!

  2. Bliss7
    Member
    Posted 5 years ago #

    Oh well,
    If a reply is going to take forever if ever at all.......

    Anyway, I have managed to make a banner appear in the right side using alot of CSS...even by creating a new division in the CSS...

    The problem is I could get it working earlier... but now I have forgotten what exact coding should be specified in the header.php

    I tried adding (this is a sample):

    <div id="headerimg2"><A HREF = "http://whatever.com<IMG SCR = "http://whatever.com/whatever.gif" WIDTH = "xx" HEIGHT = "xx" ALIGN = "RIGHT" BORDER = "0" HSPACE = "2" VSPACE = "2"></A>

    Just below the </div> <!-- end #header-->

    But the code above only breaks up the theme...I'm now wondering how in the world I could get it working earlier, because I erased that code and replaced with something else....must have been slightly different, I just dont remember it at all..

    Anyone?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags