This project is read-only.

Custom Header

Topics: ASP.NET 2.0, Controls, Themes
Oct 5, 2010 at 7:58 AM

My blog, Confessions of a Printer, is at by

I am using the MSDN style theme, and under the section:

"HTML Head Section: Add custom code to the HTML head section"

I put the following

<center><a href="" target="_blank"><img src="" border="0" alt="SelectGP Confessions of a Printer"></a></center>


I see my header banner picture, but it's not where I would like it to be. I don't just want to add the picture on. I want to replace the other picture, but I don't know how to go about doing that. All I have is that HTML head section box..that's the only thing I see remotely related to the header.



Oct 5, 2010 at 11:59 AM

There's a couple of ways to do that.

Probably the best way would be to edit the CSS file in the MSDN theme folder.  It looks like the CSS file for that theme is named "default.css".  In that CSS file, you'll find this:

.header { background: #3f2e1f url(img/Header.jpg);height: 180px; margin-bottom: 5px; text-align: center; }

Change that so you replace img/Header.jpg with your image.  So it will look like:

.header { background: #3f2e1f url(;height: 180px; margin-bottom: 5px; text-align: center; }

And then you should delete that custom HTML you put into the site.master file (the whole <center>...</center> part).

Oct 15, 2010 at 3:45 AM

How do I access that file in the MSDN theme folder? Can I access it from the Control Panel?

Oct 15, 2010 at 8:22 AM

You can access it via FTP.  The control panel would only work if it has the capability to update/edit files in your website.