May 012015
 

Last Updated: June 18, 2016

KompoZer Template Header shows you how to add a header to the template. Add some css style, place the header div tag in the correct location.

Latest News: I have added another link to the menu.

In this lesson you will learn to add the final div tag of the template. You should now have 6 div tags, wrapper, header, leftmenu, mainbody, rightsidebar and footer. This is what you call a simple web design template.

KompoZer Template Header Steps

Step 1 ) The following image shows you a new div tag added, header. You should now have six div tags in total.

Note: This div tag has been added below the id=”wrapper” as illustrated in the image below. This is very important.

  • wrapper
  • header
  • leftmenu
  • mainbody
  • rightsidebar
  • footer

Note: Refer to KompoZer Div Tag Container if you need help adding div tags.

kompozer-header-div-below-wrapper

Step 2 ) The following image shows you the new div tag marked in blue, shown in designed view. Make sure your div tag is located in the same place as showing below or else you will have issues controlling the div tag, when following these instructions.

kompozer-header-front-display-position

Step 3 ) The following image shows you a new id added, #header. You should now have the following id’s.

  • wrapper
  • header
  • leftmenu
  • mainbody
  • rightsidebar
  • footer

Note: Refer to KompoZer Div Tag Container if you need help adding div tags.

kompozer-header-css-id

Step 4 ) In the following image #header id, I have added the following CSS code.

background-color: #c0c0c0;
margin-right: auto;
clear: both;
width: 990px;
float: left;
margin-left: auto;

Note: Refer to kompozer Left Menu Code if you need help adding CSS style.

kompozer-header-css-code

Step 5 ) The following image shows you the new template design completed. I have added the appropriate headers to each div tag for you to see.

Note: This is a basic design, you can add as many div tags as you feel necessary for your website.

kompozer-front-template-display

Click on the following URL Insert Header Image to continue.

Go Back To KompoZer Tutorial List:

I have been working in IT since 1999 and I enjoy the challenges it brings me. I love developing websites with WordPress. I spend a lot of time helping out in wordpress.org forums. I have been writing tutorials since 2011. Now I am learning how to manage my own VPS "Virtual Private Server.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

eighteen + six =