WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Thumbnails don't line up correctly in catalog page

[Resolved] Thumbnails don't line up correctly in catalog page

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Inigo Gonzalez
    Member

    @inigoini

    Hi,

    I see, in Catalogue page exists an issue with images, but in Taxonomy page they look right.

    TheCartPress is provided with two different loops (for twentyeleven and twentyten styles loop) but for custom themes you could create your own loops.

    You could download one of our free themes to see how it displays the product grid.

    Best regards

    hartmutnz
    Member

    @hartmutnz

    Thanks Inigo! Will try the themes and see if it works better,.. cheers, H

    Plugin Author Inigo Gonzalez
    Member

    @inigoini

    Great!

    But as I said in another thread, I prefer to work with taxonomies, not with shortcodes (Catalogue page uses a shortcode)

    Exist ecommerces made with TheCartPress using Shortcodes heavily, but I prefer to uses taxonomies, archives because they are more WordPress style.

    Best regards

    hartmutnz
    Member

    @hartmutnz

    Update: Installed a fresh WP , added the Atahualpa theme, then installed your Cartpress Atahualpa ecommerce theme.. works all good EXCEPT: Does not show the Category thumbnails…
    http://www.artandcraftconnection.com/cartpressplustemplate/
    Checked all I could see.. any idea why the Thumbs don’t show?

    Hi hartmutnz,
    I can see images in your product archives:
    http://www.artandcraftconnection.com/cartpressplustemplate/product/
    But try to improve:
    Uncheck “use responsive images” in theme compatibility. (or use bigger image sizes to don´t pixelate them)

    And paste these css in custom css:
    .entry-post-thumbnail img.wp-post-image {
    float:none;
    }
    .entry-post-thumbnail img.wp-post-image {
    text-align:center; /* to center image */
    }
    Also, note that images aren´t visibles in the shortcode “all_products”… review the advanced settings to make sure you have checked “display image”:
    TCP tools>shortcodes

    About http://www.artandcraftconnection.com/TheCartPress/catalogue/ align issue try this:
    #content table.tcp_products_list tr td {
    vertical-align: top;
    }
    Best Regards

    hartmutnz
    Member

    @hartmutnz

    Hi again, BIG THANKS! I edited the code as you said and the thumbnails show up aligned at the top, tried adding: horizontal align center, but no luck.. One other question: HOW can we limit the number of words in the EXCERPT on the catalog page? Tried finding setting for that but could not.. See the different text amounts push the table apart:
    http://www.artandcraftconnection.com/TheCartPress/catalogue/

    (NB Thanks for all your help, really appreciate it. (So far I like the Cart Press on it’s own in my “own chosen theme”, in this case Pinboard)
    So if I get the catalog right and the product page, I could use the CartPress! Good code! )

    hartmutnz
    Member

    @hartmutnz

    RESOLVED the last question. I edited the functions.php and there is a code where excerpt length can be set: I set the words count to 16 in the case below:
    if ( ! function_exists( ‘pinboard_excerpt_length’ ) ) :
    /**
    * Change the number of words shown in excerps
    * @since Pinboard 1.0
    */
    function pinboard_excerpt_length( $length ) {
    if( pinboard_is_teaser() ) {
    if( has_post_format( ‘aside’ ) )
    return 16;
    else
    return 16;
    } else
    return 16;
    }
    endif;

    Maybe this can help other too.. Thanks for your work!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Thumbnails don't line up correctly in catalog page’ is closed to new replies.