Positioning an image...

They have: 5,633 posts

Joined: Jan 1970

Hi everyone,

I was wondering if there was anyone out there who could give me a hand with a little dilema I've got.

Iv just installed a new minimalistic wordpress theme on my site vladmihalache.com.

I'm trying to modify the theme and make it better. I had an idea of putting a picture in the
top right hand corner so it overlaps over the ul.menu which is the light blue bit.
Iv uploaded a picture to my hosting account so you can see roughly what i mean.
http://vladmihalache.com/image1.jpg

Id like the picture to go where iv highlighted in yellow.
If anyone would be so kind to help me i would greately appreciate it.

Many thanx.

He has: 629 posts

Joined: May 2007

The best I can think of at the moment:

1. Open your header.php file that's in the relevant wp-content/themes/???/ folder
2. Insert an IMG tag with the path to wherever your image is stored, placing it just after the <div id="header"> tag
3. Add these rules to your style.css file -

#header { position: relative; }
#header img {
  position: absolute;
  top: -16px;
  right: 30px;
}

Alter those top and right values to taste. Good luck.

Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;

They have: 5,633 posts

Joined: Jan 1970

many thanx webwiz, i will giv it a try as soon as i get home. Smiling

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.