• Hello,

    Does oceanwp have a setting for defining an image size in the product category?

    After several hours of searching I haven’t found it and neither has additional CSS.

    The problem is mainly on PC.

    • This topic was modified 4 months, 1 week ago by autobikeshop.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @autobikeshop,

    Thank you for reaching out,

    It’s better to upload the image in your desired size; For example, upload an image on 1280x400px.

    Also, you can please put the CSS below in Customizing > Custom CSS/JS > CSS Code:

    .category-image img {
        max-width: 100px;
    }

    or

    .category-image img {
        max-width: 100px;
        margin: 0 auto;
    }

    Please read this link for more information about the CSS/JS code on the customizer: https://docs.oceanwp.org/article/354-add-custom-css-and-js-to-your-website.

    Note: If you have any cache plugin or server cache(CDN / Browser Cache and Cookies and …), you need to clear its cache contents or disable them to see your changes. Also, remember to click on the regenerate all assets file and data in Elementor > Tools(if you have Elementor).

    I hope it helps.
    Best Regards

    Thread Starter autobikeshop

    (@autobikeshop)

    Thank you very much for your help. It works. I’m new to WP 😊

    You’re welcome.
    I’m glad we could help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.