Tagged: ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #5307


    does anyone else have problems with image alignment?

    My alignment works for left and right if I use captions. If I don’t, the alignment does not work. Centered images don’t center even if I use captions.

    Here’s an example: http://www.du.si/image-alignment/



    add following to css/custom.css to fix the problem:

    .alignleft, .alignright, .aligncenter, img.alignleft, img.alignright, img.aligncenter,a img.alignleft,a img.alignright,a img.aligncenter{
    display: block !important;

    I’ll report it as a bug to Kriesi for the next update :)



    I added the code, but it doesn’t get any better. :(



    I adjusted code code above – please try it again.


    Sorry, still no good :(


    Ok – then we’ll need to hack the theme files (which I tried to avoid first). Open up js/avia.js and change following line:

    if(!a.css('position') || a.css('position') == 'static') { a.css({position:'relative', display:'inline-block'}); }


    if(!a.css('position') || a.css('position') == 'static') { a.css({position:'relative'}); }


    It works for allmost all images just not for the centered one if it has a caption. See at link above.


    Ok – I’ll report it to Kriesi. He needs to find a way to differentiate between the different styles then :)



    thanks! :)


    Was there ever a solution for this problem? If so can someone please post it. I’m having trouble getting my images to center in my blog as well using the Flashlight theme.

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Image alignment in posts and pages’ is closed to new replies.