changing the header graphic
-
Im new to wordpress. I dont know any html coding. I looked through the forum posts and couldnt find exactly what i am looking for. I am using the theme “elements of SEO”. Part of the reason for my selection was its ability to “easily customize the header”
I have read the information on the codex- while it doesnt exactly match my template I think i basically understand how to do it. However, so far I have not been successful in switching the graphic. What i have managed to do is remove the existing one. These are the steps I have taken so far:
1. Resized the new image to match the size of the existing image(the one I want to replace) in the image directory. Resized it to 960×134 px
2. Uploaded the new image to the image directory -named it banner4. There were already 3 existing banner images named 1-3 respectively which I could switch through and have them appear on the banner header.
3. logged into blog-design-theme editor
4. in the style sheet I added my new graphic:
#banner { background: url(“images/banner.jpg”) no-repeat; height:134px; }#banner1 { background: url(“images/banner1.jpg”) no-repeat; height:134px; }
#banner2 { background: url(“images/banner2.jpg”) no-repeat; height:134px; }
#banner4 { background: url(“images/banner4.jpg”) no-repeat; height: 134px; }
5.went to the theme files of “myheader.php”, “myheader1.php”, and “header.php” and inserted the words “banner4” replacing the words “banner1”
By doing all of the above steps I succeeded in removing the original banner1 from the template but the banner that I added did not appear.
I have no idea what went wrong.
I did notice the following phrase in the style sheet and was wondering if i should modify it in some way in order to make the new graphic appear:#masthead { width: 960px; /*height: 100px; background: url(‘images/logo.gif’) no-repeat;*/ /* uncomment the height and background declarations here if you intend to use a graphic in the header instead of the h1 */ }
/* #masthead a { display: block; width: 770px; height: 100px; } */ /* uncomment this line if you use a graphic in the header – make sure the height of your header graphic is equal to the height declared in this line of code! */
Any help would be greatly appreciated
- The topic ‘changing the header graphic’ is closed to new replies.