Support » Themes and Templates » Removing a Space

  • Resolved BlueLaw


    Hello All,

    After many posts on various forums I have come to the conclusion I must dabble in making my own wordpress theme (of sorts)

    At the moment I am just experimenting. Have a look at this experimental page:

    Can anyone tell me how to remove the gap above the picture of the guy on the right? – that picture is in a wordpress page, the other pictures on the page are currently in the actual theme files.

    I want the guy on the right to be up to the top of the page like the picture on the left. like this:

    – I’m really not sure where to even begin at the moment.

    Thanks in advance,
    I am finally really really enjoying WordPress.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You’ve got an <h2> tag with a space in it at the top of your content <div>.

    Remove <h2>&nbsp;</h2> and see if that fixes it. If it doesn’t totally bring the image to the top of the page, check the margins and padding on your img tags in CSS.

    Yes, well spotted!

    Thanks for your help, there is still a slight gap, but as I say I am experimenting, so it’s no big deal.

    I’ll be back here when I start to get into the real deal.

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing a Space’ is closed to new replies.