Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

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.

Rule #1: Be Respectful

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

Members online

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.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom