Hi,
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/
Image alignment in posts and pages
10 posts from 3 voices-
Posted 1 year ago #
-
Hey,
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 :)
Posted 1 year ago # -
Hey,
I added the code, but it doesn't get any better. :(Posted 1 year ago # -
Hey,
I adjusted code code above - please try it again.Posted 1 year ago # -
Sorry, still no good :(
Posted 1 year ago # -
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'}); }to:
if(!a.css('position') || a.css('position') == 'static') { a.css({position:'relative'}); }Posted 1 year ago # -
It works for allmost all images just not for the centered one if it has a caption. See at link above.
Posted 1 year ago # -
Ok - I'll report it to Kriesi. He needs to find a way to differentiate between the different styles then :)
Posted 1 year ago # -
Hey,
thanks! :)Posted 1 year ago # -
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.
Posted 1 year ago #
Reply
You must log in to post.














