Forum Replies Created

Viewing 13 posts - 16 through 28 (of 28 total)
  • Posted in:
  • in reply to: Adjust Masonry gutter spacing #229747
    HjalmarCarlson
    Member
    Post count: 30

    I just removed all of the custom styles I have applied and added your css and it still didn’t adjust the gutters. The gutters are visible if I remove the border but they do not expand at all when you change padding value.

    in reply to: Adjust Masonry gutter spacing #229737
    HjalmarCarlson
    Member
    Post count: 30

    Kyle,

    Do you have any suggestions on how to resolve?

    Can you share your demo link? Then I can see what’s different.

    in reply to: Adjust Masonry gutter spacing #229678
    HjalmarCarlson
    Member
    Post count: 30

    Kyle,

    I’ve add the css you shared but it didn’t change anything, you can see the page here: http://hjalmarcarlson.com/lab/hailnails/blog/

    I believe that the gutters need to be modified in the masonry/isotope settings. Can this be done in the Atelier theme files?

    in reply to: Adjust Masonry gutter spacing #229531
    HjalmarCarlson
    Member
    Post count: 30
    This reply has been marked as private.
    in reply to: Adjust Masonry gutter spacing #229502
    HjalmarCarlson
    Member
    Post count: 30

    I’ve also added this to the javascript editor:

    $('.blog-items').isotope({
      masonry: {
        gutterWidth: 20
      }
    });
    in reply to: Adjust Masonry gutter spacing #229501
    HjalmarCarlson
    Member
    Post count: 30

    To follow up on this, I noticed that there is a -15px margin that is being added to the gutters but when I overwrite those margins nothing changes.

    Here is what I modified, located in sf-combined.min.css:

    ul.blog-items.gutters {
        margin-left: -15px;
        margin-right: -15px;
    }
    in reply to: Change masonry blog post structure #229383
    HjalmarCarlson
    Member
    Post count: 30

    Awesome! Thanks for the help Mohammad!

    in reply to: Change masonry blog post structure #229179
    HjalmarCarlson
    Member
    Post count: 30
    This reply has been marked as private.
    in reply to: Change masonry blog post structure #228711
    HjalmarCarlson
    Member
    Post count: 30
    This reply has been marked as private.
    in reply to: Change masonry blog post structure #228657
    HjalmarCarlson
    Member
    Post count: 30

    Thanks for the response Mohammad. I replaced my code with what you supplied and the output didn’t change. Here is what rendered:

    <li itemscope="" itemtype="http://schema.org/BlogPosting" style="opacity: 1; position: absolute; left: 0px; top: 15px; background: url(http://hjalmarcarlson.com/lab/hailnails/);" class="blog-item col-sm-4 uncategorized post-190 post type-post status-publish format-standard hentry category-uncategorized item-animated" id="190" data-date="1445876386">

    I was expecting the complete thumbnail URL here:
    background: url(http://hjalmarcarlson.com/lab/hailnails/);

    What other things should I try here?

    in reply to: Change masonry blog post structure #228435
    HjalmarCarlson
    Member
    Post count: 30

    Thanks Mohammad, I found the section that I need to add to but what I’m adding doesn’t seem to be return the actual post thumbnail. Is there a function built into Atelier that I can call here?

    Here is the snippet i’ve added:
    style="background:url('.get_post_thumbnail_id( $post_id ).');"

    Here the complete variable:
    $blog_items_output .= '<li itemscope itemtype="http://schema.org/BlogPosting" style="background:url('.get_post_thumbnail_id( $post_id ).');" class="blog-item ' . $item_class . ' ' . $term_slug . ' ' . implode( ' ', get_post_class() ) . '" id="' . get_the_ID() . '" data-date="' . get_the_time( 'U' ) . '">';

    What I need to do in the end is set the post thumbnail as the background image for the blog_item.

    in reply to: Change masonry blog post structure #227616
    HjalmarCarlson
    Member
    Post count: 30

    Any thoughts here? Which file generates the layout for the masonry blog format?

    in reply to: Show prices on product listing page #226899
    HjalmarCarlson
    Member
    Post count: 30

    NVM, I never set prices for the products. Resolved.

Viewing 13 posts - 16 through 28 (of 28 total)