Step 1: Create Your Header Image
Go ahead, we'll wait here for you.
For this article, we'll be customizing the Red Rocket blog and using this image as the header.
Step 2: Upload the Image to Your Blog
Use the File Manager in the Blogzerk Publisher's Control Panel to upload the file to your blog. Make sure to note the path you upload it to. A good idea would be to copy the link to the image from the File Manger for use in the next step.
Step 3: Customize Your CSS
Go to the Layout/Colors section in the Control Panel. If you haven't already customized your CSS (you'll just see options for choosing a new theme), then you'll need to follow these steps to customize your CSS. If you have already customized your CSS, click the Change link to edit the CSS and skip the following steps.
- Go to Layout/Templates and click on the Edit link corresponding to the style template.
- At the bottom of the list, click the Customize button. This will take you to the CSS editing area for the next section.
Now you should be in the Edit CSS screen. In the Custom CSS field, you'll need to customize and enter the following:
Code:
table.blogHeader {
background-image: url("/layout/header1.gif");
background-repeat: no-repeat;
height: 91px;
}
table.columns {
width: 850px;
margin-right:auto;margin-left:auto;
}
background-image: url("/layout/header1.gif");
background-repeat: no-repeat;
height: 91px;
}
table.columns {
width: 850px;
margin-right:auto;margin-left:auto;
}
- In the table.blogHeader definition, change /layout/header1.gif to be the URL to your image. This can be a relative or absolute URL.
- In the table.blogHeader definition, change the height to be the height of your image.
- In he table.columns definition, change the width to be the width of your image.
Save your changes and your image should now show up as the background image of your header and your blog's width will be the width of your header and centered in the page.
IMPORTANT: You must have at least one component in your header using the Layout Manager. Othwerwise, the header will not be displayed. We have used the Home Link component. If you don't want anything but your header image, you can create a custom component with a non-breaking space as the content and use that.











Logged


