Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » [Plugin: NextGEN Gallery] imaging padding when using float left

  • rtivel

    (@rtivel)


    I have just installed the plugin and inserted a single picture in a post([singlepic id=10 w=150 h=112 float=left]). The image is floating left but there is no padding on the right side of the image between the image and the surrounding text. I have tried modifying the .ngg-singlepic and .ngg-left CSS in the ngallery.css file but can’t affect the right margin/padding. Any idea about what the problem might be?

Viewing 1 replies (of 1 total)
  • rtivel

    (@rtivel)

    I found where to style the single post image. I am using the acamas theme. The styling for the image is to be found in the acamas style.css file. Here is the code starting at line 873:

    .entry-content img {
        border: 1px solid #C7C7C7;
        background-color: #E9E9E9;
        margin: 0 0 21px 0;
        max-width:100%;
        padding:5px;
    }

    The right margin can be adjusted like this:

    margin: 0 10px 10px 0;

    The parameters are top, right, bottom, and left. Thank goodness for the Firebug plugin for Firefox: it makes finding where the styling is done easy.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] imaging padding when using float left’ is closed to new replies.