Home Forums WoodMart support forum align shop grid prices

align shop grid prices

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #362303

    ninja
    Participant

    Hello there
    kindly help me with this case please:
    how to make the shop grid prices align in one horizontal line?
    i set the theme option: “Product Title Lines Limit: Two Line ”
    now the product-grid-item div has 2 different height because some product have two and a few other have one line title which lead the “price” div in shop/category not to be aligned horizontally .

    #362561

    Bogdan Donovan
    Keymaster

    Hi,

    “Product Title Lines Limit” – limits the maximum height of your product titles. Its purpose is to prevent two-line titles if “one line” is selected and prevent three-line titles if “two lines” are selected. This option is doesn’t set the minimum height of the product title. If your site contains short product titles on your site there are two possible solutions:

    1. Set this option to “one line” to make all product titles the same height.

    2. Add this custom code to the global custom CSS area to add minimum height to the product titles, but in this case, there will be space between short titles and below content.

    [class*="title-line-"] .product-grid-item .wd-entities-title {
    	min-height: 36px;
    }

    Kind Regards

    #362579

    ninja
    Participant

    thanks for answer
    and i do in this way,( for anybody reach this topic and respect to not change theme parent files )
    -in theme setting , turn the “Bordered grid” switch to On
    -(undo all the border css using !important in custom css if matter)
    -add this to global css :

    .product-grid-item .price {
     margin-top: auto;
    } 
    #362691

    Bogdan Donovan
    Keymaster

    You are welcome,

    We are glad that you found the solution yourself.

    Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.

    Best Regards.

Viewing 4 posts - 1 through 4 (of 4 total)