Is it possible to make category covers not square, but with their own format?

This topic has 6 replies, 3 voices, and was last updated 5 days, 21 hours ago ago by Andrew Mitchell

  • Avatar: Goostaf
    Goostaf
    Participant
    May 8, 2024 at 10:38

    Is it possible to make category covers not square, but with their own format? For example rectangular?

    Content is visible for topic creator and
    support staff only.
    5 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    May 8, 2024 at 12:22

    Hi @Goostaf,

    We’ve checked that the category images are square now:

    https://meshar.ru/wp-content/uploads/2023/08/barbi-1.jpg
    https://meshar.ru/wp-content/uploads/2023/09/cheburashka.jpg

    In this case, you have to crop the images to rectangle after that add this custom CSS under XStore > Theme Options > Theme Custom CSS > Global CSS:

    
    .category-grid img {
        border-radius: 0;
    }
    

    Hope it helps!

    Content is visible for topic creator and
    support staff only.
    Avatar: Goostaf
    Goostaf
    Participant
    May 13, 2024 at 09:28

    Can we make them rectangular? For example 300 by 100px?

    Avatar: Justin
    Luca Rossi
    Support staff
    May 13, 2024 at 10:14

    Hi @Goostaf,

    You can try with this custom CSS codes but we also suggest you to change the image to rectangular:

    
    .category-grid img {
        max-width: 200px;
        height: 100px;
        object-fit: cover;
        border-radius: 0;
    }
    

    Hope it helps!

    Avatar: Goostaf
    Goostaf
    Participant
    May 13, 2024 at 20:21

    Thanks a lot

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    May 13, 2024 at 20:21

    Dear Goostaf,

    We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.

    Click here to rate now: https://themeforest.net/downloads

    Thank you sincerely for your ongoing support!

    Best Regards,
    The 8Theme Team

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

The issue related to '‘Is it possible to make category covers not square, but with their own format?’' has been successfully resolved, and the topic is now closed for further responses

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