WordPress.org

Ready to get started?Download WordPress

Forums

Awesome Filterable Portfolio
[resolved] Spacing between images (3 posts)

  1. lisamv
    Member
    Posted 1 year ago #

    How do you put a space between each portfolio image so they are not butted right up against each other which looks pretty bad. Also notice that when I click on the different categories the images jump to the right a little as the page loads, another thing that looks pretty bad.

    Thanks

    http://wordpress.org/extend/plugins/awesome-filterable-portfolio/

  2. ashleyrodan
    Member
    Posted 1 year ago #

    Just had todo this so I happy to share my knowledge.

    Steps:
    1. Navigate to plugins> editor
    2. select awesome filterable portfolio plugin
    3. back up the code
    4. scroll all the way down to line 770
    5. add style="width: 205px; padding-left: 50px;" to Li

    $output.='<li class="afp-single-item" data-id="id-' . $k . '" data-type="' . ereg_replace("[^A-Za-z0-9]", "", $item->item_category) .'">

    Go that helps.

    Its not the best way, but it works!

  3. BriniA
    Member
    Plugin Author

    Posted 1 year ago #

    ashleyrodan that's a great way to do it. You can also add a new rule to your theme's style.css file. Something like this:

    .afp-single-item{
      width: 205px;
      padding-left: 50px;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.