Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author bradvin

    (@bradvin)

    Sorry, but the gallery template you are using (Simple Portfolio) does not support left aligned images. It’s purpose was to layout and centre the images to best fit the container (you can see that in action when you resize your page and the items re-arrange themselves)

    Maggie

    (@maggiedusnic)

    Hi Ezekial

    I’ve also been trying to align the images to the left. I looked at your link and you seem to have succeeded – well done! Please can you tell me how you did it. Thanks.

    Hi,

    Ezekial, i’ve the same problem, have you modified the CSS or the PHP??

    Thx

    Same issue here. It seems impossible, but there should really be a solution. Perhaps somewhere in the .js?

    Found the solution!

    Find the file “gallery-simple_portfolio.js” in the foogallery plugin folder (plugins -> foogallery -> extensions -> default templates -> js) and open it in an editor (you can use the standard windows text editor after downloading it via ftp to your computer or use the wordpress editor).

    Search inside the raw JS-Code for this term: css({top:l
    You will get two results:

    .css({top:l,left:a})

    and a little further

    .css({top:l,left:a+i*u+r*u})

    replace in both code-snippets the letter “a” by “0” (zero)

    The first search result (.css({top:l,left:a})) is for galleries with just one picture in it, the second search result (.css({top:l,left:a+i*u+r*u})) is for galleries with more than one picture in it.

    You’re simply the best. Thank you very very very much,

    @knunni and @kikovinilo,

    Keep in mind that if you edit these files, they WILL get overwritten during the next plugin update.

    It would be best to copy the template you want and make yourself a new template with your desired changes.

    @adam
    That is correct and of course you should always copy modified files as a backup to your Computer so that you can upload it again after updating the plugin.

    @kiko
    you are welcome. I’m happy I could help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Left justify foo gallery thumbnails’ is closed to new replies.