0 Replies - 1440 Views - Last Post: 16 June 2011 - 03:57 AM

Topic Sponsor:

#1 Autocrat  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 3
  • View blog
  • Posts: 282
  • Joined: 27-September 09

Creating my own Wordpress themes - alignment errors

Posted 16 June 2011 - 03:57 AM

Hello guys,

I am creating my own Wordpress theme for my site and I decided to download and modify an existing theme instead of creating one from scratch.

I have attached all my theme files in mytheme.zip.

I have done most of the work but now I am stuck. I want to replace the Heading "Test Site" which is wrapped in <h1> tags in header.php and defined under #site-title in style.css with a logo. I have included logo.png in the images folder. I tried changing the following in header.php:

<hgroup>
<h1 id="site-title">Test Site</h1>
</hgroup>



to this:

<img src="images/logo.png" />



But the image will not display at all. Tell me where am I going wrong.

Also, I would like menubg.png in images folder to be shown in the background of the menu bar. I tried adding the following attribute in style.css:

background:images/menubg.png repeat-x;


But it doesn't show up.

Any clue?

Attached File(s)



Is This A Good Question/Topic? 0
  • +

Page 1 of 1