Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

WP pic positioning help rqd

Status
Not open for further replies.
Joined
Nov 25, 2006
Posts
2,686
Reaction score
27
I have a text free page in Wordpress where I want to place an image.

I can use the image upload tool and position pic > left, center, or right
however this is no good as I need it offset within the page.

Any ideas anyone?

TIA

Howie
 
Put the image in a separate div...example would be

<div class="left-image">url for image</div>

Add to style sheet:

.left-image {padding-left: 10px;}

Hope this helps..
 
Put the image in a separate div...example would be

<div class="left-image">url for image</div>

Add to style sheet:

.left-image {padding-left: 10px;}

Hope this helps..

hmmm, tried this, prob not putting code in correct place ...

e.g. in my styles sheet there's all this { stuff } going on either side of each piece of code, should I be doing this? also not sure where abouts in stylesheet I should drop it in ....


does <div class="left-image">url for image</div> need the src= thingy?

thnx !
 
hmmm, tried this, prob not putting code in correct place ...

e.g. in my styles sheet there's all this { stuff } going on either side of each piece of code, should I be doing this? also not sure where abouts in stylesheet I should drop it in ....

Copy what I put and paste it at the bottom of your stylesheet, I'm assumming you want the image to be offset from the left, if so change the 10px to whatever offset you require.


does <div class="left-image">url for image</div> need the src= thingy?

thnx !

<div class="left-image">http://www.yourdomain.co.uk/uploads/image.jpg</div>

Any problems send me a PM.

Richard
 
Last edited:
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom