Product Category title under image - by gayleen

This topic has 4 replies, 2 voices, and was last updated 5 years, 7 months ago ago by Rose Tyler

  • Avatar: gayleen
    gayleen
    Participant
    September 13, 2018 at 03:00

    Hi
    Can you please provide us with custom css so that the subcategory title appears UNDER the image, rather than on top of it, here:

    https://ctsfishing.com/product-category/rod-building/guides

    Thanks

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 13, 2018 at 08:09

    Hello,

    Theme Options > E-commerce > Categories > Text vertical align > Bottom OR add this code in Theme Options > Styling > Custom css:

    .category-grid .categories-mask {
        bottom: -35%;
        top: unset;
    }
    .products-grid .product-category {
        margin-bottom: 5% !important;
    }

    Let me know the result.

    Regards

    Avatar: gayleen
    gayleen
    Participant
    September 13, 2018 at 09:22

    Thanks for the quick reply!
    The Theme Options / Vertical Align: Bottom did not push the text down far enough.
    I tried the CSS instead, and it is better, but it still covers the image:

    https://ctsfishing.com/product-category/guides/

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 13, 2018 at 09:30

    Please change the previous code to:

    .category-grid .categories-mask {
        bottom: -30% !important;
        top: unset !important;
    }
    
    .products-grid .product-category {
        margin-bottom: 10% !important;
    }
    .shop-full-width {
        padding-bottom: 1em;
    }

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.