Title: Singlepic alignment issue
Last modified: August 31, 2016

---

# Singlepic alignment issue

 *  Resolved [YaronRaz](https://wordpress.org/support/users/yaronraz/)
 * (@yaronraz)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/singlepic-alignment-issue/)
 * I have been searching for some solution for this, but couldn’t find any.
 * I have an RTL language site using the Graphene template.
    I have just installed
   NGG, and am trying to add single images using the singlepic short code, but to
   have the images align to the left. The English equivalent would be to have the
   image aligned to the right.
 * The shortcode I am using is:
    `[singlepic id=956 w=200 h= float=left]`
 * When inspecting the CSS in chrome, this is the CSS conversion:
    `<div class="
   ngg-gallery-singlepic-image ngg-right" style="max-width: 200px">`
 * I have noticed that no matter what, the CSS uses a DIV with ngg-RIGHT
 * How can I change the shortcode, so that the image is aligned to the left, and
   not to the right?
 * Here is the link to the page: [http://ysraz.com/guides/winter/](http://ysraz.com/guides/winter/)
   
   You can see the three images on the right, and they should be on the left.
 * Thank you for the help
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/singlepic-alignment-issue/#post-7051320)
 * [@yaronraz](https://wordpress.org/support/users/yaronraz/) – We may need to review
   this a bit further but how exactly are you inserting the image to be displayed
   with a SinglePic display?
 * Thanks!
 * – Cais.
 *  Thread Starter [YaronRaz](https://wordpress.org/support/users/yaronraz/)
 * (@yaronraz)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/singlepic-alignment-issue/#post-7051369)
 * In order to add an image to a post, here are the steps I take:
 * I click on Add Media -> Nextgen Gallery
    I select a gallery Click “Show” on one
   of the images Alignment – Left Size – Singlepic Insert to post (The terminology
   I use might be a bit different, because my WP is in Hebrew)
 * The shortcode generated is:
    [singlepic id=456 w= h= float=left]
 * I modify it to limit the width:
    [singlepic id=456 w=200 h= float=left]
 * Here is a link to a new post I prepared for this example:
    [Test Post](http://ysraz.com/uncategorized/test-post-for-image-alignment/)
 * You can see all the images are aligned to the right, except the one that was 
   add as “Float=none”
 * When I used WP media library to add an image, it aligned properly to the right,
   center or left, as assigned.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/singlepic-alignment-issue/#post-7051416)
 * [@yaronraz](https://wordpress.org/support/users/yaronraz/) – Thanks for confirming
   your steps … this is not a RTL issue but appears to be one in general. I will
   have our developers look into this issue.
 * Thanks, again!
 * – Cais.
 *  Thread Starter [YaronRaz](https://wordpress.org/support/users/yaronraz/)
 * (@yaronraz)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/singlepic-alignment-issue/#post-7051495)
 * Hello Cais,
 * Is there any progress on this issue?
 * Thanks’
    Yaron
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/singlepic-alignment-issue/#post-7051511)
 * [@yaronraz](https://wordpress.org/support/users/yaronraz/) – I have noted this
   for our developers to review but do not have a timeline for when it will be addressed
   currently.
 * Thanks!
 * – Cais.
 *  Thread Starter [YaronRaz](https://wordpress.org/support/users/yaronraz/)
 * (@yaronraz)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/singlepic-alignment-issue/#post-7051550)
 * Ok, I’ve been looking around, and found that the singlepic takes its float alignment
   from the setting under “NextGen Basic SinglePic” setting.
    Whatever is there,
   that will be the setting for ALL images using added as SinglePic.
 * If the setting is defined as “None”, all singlepics will have no float, regardless
   of the setting for the specific image.
 * Any chance there is a quick fix for this?
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/singlepic-alignment-issue/#post-7051558)
 * [@yaronraz](https://wordpress.org/support/users/yaronraz/) – Thanks for the follow-
   up but as it is we will need to see why there is a disconnect between the Gallery
   Settings and its use elsewhere.
 * I’ll make sure to update our internal notes for our developers to review this
   specific item as well.
 * Thanks, again!!
 * – Cais.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Singlepic alignment issue’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [align](https://wordpress.org/support/topic-tag/align/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [singlepic](https://wordpress.org/support/topic-tag/singlepic/)

 * 7 replies
 * 2 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/singlepic-alignment-issue/#post-7051558)
 * Status: resolved