WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Left align image

[Resolved] Left align image

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author tepelstreel

    @tepelstreel

    Hi,

    unfortunately it is only possible by hardcoding the CF_WidgetClass.php file and find line 368. From there on you can make your changes. The output ends in line 376.

    Regards

    Forgive my php illiteracy, but what exactly am I looking for, and what will I change it to?

    Plugin Author tepelstreel

    @tepelstreel

    Hi there,

    you look for that code:

    echo $eol.'<a href="'.get_permalink().'" title="'.$cfw_title_tag.'">'.$cfw_img.'</a>'.$eol.'<div style="clear:both;"></div>'.$eol;

    And you would have to change it to something like that:

    echo $eol.'<div style="float:left;padding-left:8px;"><a href="'.get_permalink().'" title="'.$cfw_title_tag.'">'.$cfw_img.'</a>'.$eol.'</div>'.$eol;

    That should make it look a bit like you want it to.

    Regards

    Excellent. I think I can take it from here. Thank you!

    Plugin Author tepelstreel

    @tepelstreel

    You are wellcome!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Left align image’ is closed to new replies.