1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

image alignment issues

Discussion in 'WordPress' started by sixrfan, Jul 28, 2010.

  1. #1
    i just inserted the three pictures you see into this post: http://bandit4x4.com/wordpress/4x4-truck-parts/steering-parts/oem-stock-idler-arm-bushings/

    when inserting them, i specified to align them to the right. but clearly its not doing that, how do i fix?

    please advise. thanks in advance.

    here's the code, post insertion:
    
    [caption id="attachment_58" align="alignright" width="150" caption="Idler Arm Bushings - Top View"]<a href="http://bandit4x4.com/wordpress/4x4-truck-parts/steering-parts/oem-stock-idler-arm-bushings/attachment/idler-bushings-top/" rel="attachment wp-att-58"><img src="http://bandit4x4.com/wordpress/wp-content/uploads/idler-bushings-top-150x150.jpg" alt="Idler Arm Bushings - Top View" title="Idler Arm Bushings - Top View" width="150" height="150" class="size-thumbnail wp-image-58" /></a>[/caption]
    
    [caption id="attachment_56" align="alignright" width="150" caption="Idler Arm Bushing - Inside View"]<a href="http://bandit4x4.com/wordpress/4x4-truck-parts/steering-parts/oem-stock-idler-arm-bushings/attachment/idler-bushings-inside/" rel="attachment wp-att-56"><img src="http://bandit4x4.com/wordpress/wp-content/uploads/idler-bushings-inside-150x150.jpg" alt="Idler Arm Bushing - Inside View" title="Idler Arm Bushing - Inside View" width="150" height="150" class="size-thumbnail wp-image-56" /></a>[/caption]
    
    [caption id="attachment_57" align="alignright" width="150" caption="Idler Arm Bushing - Installed"]<a href="http://bandit4x4.com/wordpress/4x4-truck-parts/steering-parts/oem-stock-idler-arm-bushings/attachment/idler-bushings-installed/" rel="attachment wp-att-57"><img src="http://bandit4x4.com/wordpress/wp-content/uploads/idler-bushings-installed-150x150.jpg" alt="Idler Arm Bushing - Installed" title="Idler Arm Bushing - Installed" width="150" height="150" class="size-thumbnail wp-image-57" /></a>[/caption]
    
    <strong>Product:</strong>
    Idler Arm Bushings (Original Equipment Manufacture)
    
    Code (markup):
     
    sixrfan, Jul 28, 2010 IP
  2. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #2
    They are aligned to the right. Do you mean you need them stacked? Then just break the line with <br> after each line of code.
     
    hmansfield, Jul 28, 2010 IP
  3. sixrfan

    sixrfan Well-Known Member

    Messages:
    354
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #3
    just tried that but it didnt work.

    what i'm looking for is to have all the pics lined up vertically along the right side of the page, like the are in the original (non-wordpress) site here: http://bandit4x4.com/products/btd0001.html

    please advise.
     
    sixrfan, Jul 28, 2010 IP
  4. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #4
    Insert the images one at a time, where you want them to be. I don't know why you need this
    Just to insert images.
     
    hmansfield, Jul 28, 2010 IP
  5. sixrfan

    sixrfan Well-Known Member

    Messages:
    354
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #5
    well i want a caption for each image. wordpress sticks all that code in there when I enter the caption using their Insert Picture functionality.
     
    sixrfan, Jul 28, 2010 IP
  6. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #6
    I see. Yes adding captions to multiple images does screw things up. I have seen it before.
    The only thing I can recommend is to do it again, one by one and make sure it is the last thing that you do to the post. I have had an isuse like this before, especially when I go back to edit the post.
     
    hmansfield, Jul 28, 2010 IP
  7. sixrfan

    sixrfan Well-Known Member

    Messages:
    354
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #7
    no dice. same problem. here's the code I have now:
    <a href="http://bandit4x4.com/wordpress/4x4-truck-parts/steering-parts/oem-stock-idler-arm-bushings/attachment/idler-bushings-top/" rel="attachment wp-att-58"><img src="http://bandit4x4.com/wordpress/wp-content/uploads/idler-bushings-top-150x150.jpg" alt="Idler Arm Bushings - Top View" title="Idler Arm Bushings - Top View" width="150" height="150" class="alignright size-thumbnail wp-image-58" /></a><br />
    <a href="http://bandit4x4.com/wordpress/4x4-truck-parts/steering-parts/oem-stock-idler-arm-bushings/attachment/idler-bushings-inside/" rel="attachment wp-att-56"><img src="http://bandit4x4.com/wordpress/wp-content/uploads/idler-bushings-inside-150x150.jpg" alt="Idler Arm Bushing - Inside View" title="Idler Arm Bushing - Inside View" width="150" height="150" class="alignright size-thumbnail wp-image-56" /></a>
    Code (markup):

    i would think applying this css would work, though it doesnt seem to be:
    .entry-content img.alignright {float:right;}
    Code (markup):
     
    Last edited: Jul 28, 2010
    sixrfan, Jul 28, 2010 IP
  8. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #8
    Sorry, I really don't have a concrete answer for you except to keep trying it different ways until you get what you want. You are saying that line breaks don't work </br> or <br>..did you try hand coding paragraph breaks<p>?
    I don't know why it's doing that.

    Does it let you insert one image correctly?
     
    hmansfield, Jul 28, 2010 IP
  9. zhoom

    zhoom Peon

    Messages:
    388
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #9
    It looks like you may have multiple product pages in the future. If so, my suggestion would be to create a page template with an extra right floating div in your content div, the width of the images you want to use. Then use custom fields to insert the images. They should align nicely straight down like in your old site.
     
    zhoom, Jul 28, 2010 IP
  10. sixrfan

    sixrfan Well-Known Member

    Messages:
    354
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #10
    thanks. i was hoping to avoid that trick if i could. its just really bizarre to me that the system wouldnt align them all to the right as part of the standard operating procedure when you select "align:right" when inserting them in wordpress.
     
    sixrfan, Jul 28, 2010 IP
  11. zhoom

    zhoom Peon

    Messages:
    388
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I think it's to do with the vertical position. It looks like you have inserted your first image on the first line and your second image on the second line. Try placing your first image on the first line and second image on the 15th or 20th line. I'm not sure if I'm explaining this clearly (and I apologize if this is something you've already tried). Here's a more clear explanation....

    - delete both images.
    - place your cursor on the left of the first heading "product"
    - insert your first image as you normally would with caption, align right etc.
    - place your cursor this time well below, maybe on the left of Applications or around there.
    - insert your second image as usual.

    Let me know if this works :)
     
    zhoom, Jul 28, 2010 IP
    sixrfan likes this.
  12. sixrfan

    sixrfan Well-Known Member

    Messages:
    354
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #12
    that actually worked. thank you!
     
    sixrfan, Jul 29, 2010 IP
  13. zhoom

    zhoom Peon

    Messages:
    388
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #13
    No worries! happy to help...
     
    zhoom, Jul 29, 2010 IP