Forum Replies Created

Viewing 1 replies (of 1 total)
  • michaelcolenso

    (@michaelcolenso)

    Hey there –

    I had this issue as well, where the plugin was forcing all of the center-aligned pictures to be left aligned.

    I managed to fix this (for my particular case) by adding

    $('p').has('.pinit').css('text-align', 'center');

    to the script.js file of the plugin. I added it inside the jpibfiAddElements function. It sets the text-alignment to center for all ‘p’ elements that have child elements with the class .pinit.

    Just thought I’d let you know how I worked around the issue. It may not work for all cases, but it worked perfectly for my case…

    Thanks. Nice plugin, by the way. Works great.

    -Mike

Viewing 1 replies (of 1 total)