Forums

Is it possible to have a header image in the Classic theme? (4 posts)

  1. bluelotus
    Member
    Posted 3 years ago #

    Hi,

    I've been checking different templates out for my blog and so far I like the Classic Theme the best, but I am trying to figure out how to have an image instead of just color in the header. There is no images folder in that theme, so I guess it would be through the style.css, but I am not sure how to do that.

    Any help would be greatly appreciated.

    Yol

  2. stvwlf
    Member
    Posted 3 years ago #

    yes, in the stylesheet
    find this:

    #header {
    	background: #90a090;
    	border-bottom: 3px double #aba;
    	border-left: 1px solid #9a9;
    	border-right: 1px solid #565;
    	border-top: 1px solid #9a9;
    	font: italic normal 230% 'Times New Roman', Times, serif;
    	letter-spacing: 0.2em;
    	margin: 0;
    	padding: 15px 10px 15px 60px;
    }

    change the background line to this:
    background: #90a090 url(my_header.jpg) no-repeat;
    make sure you change my_header.jpg to the name of your header file.

    also add a line
    height: 150px;
    and make sure instead of 150 its the height of your header image.

    put the header image in the folder with the theme's php files - that will work with the background code above

    You may have to play with the padding.
    padding: 15px 10px 15px 60px;
    the order is top right bottom left

    If you need to adjust the text that appears in the header area its in header.php

  3. bluelotus
    Member
    Posted 3 years ago #

    Thanks, I will give it a try.

  4. froggy.sky
    Member
    Posted 3 years ago #

    I was able to change the header with the classic-ii theme, but I just cannot get the classic theme to use my image for the header instead of the color. UGH.

Topic Closed

This topic has been closed to new replies.

About this Topic