Site logo

[Resolved] Query loop: post image border radius

Home Forums Support [Resolved] Query loop: post image border radius

Home Forums Support Query loop: post image border radius

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2141265
    Jeremy

    Hi, is there any way to change the border-radius on the query loop post images?

    Thanks

    #2141326
    Ying
    Staff
    Customer Support

    Hi Jeremy,

    Query loop block is a WP core block, GP has no control over it.

    But if you can link us to your site, we might be able to help with some custom CSS.

    Let me know 🙂

    #2141590
    Jeremy

    Sure, it’s https://expertdogfood.com/.
    If you scroll down you can see the post images and I would just like to round the corners of those images if possible.
    Thanks

    #2141597
    Ying
    Staff
    Customer Support

    Try this CSS:

    .wp-block-post-template.wp-block-post-template img {
        border-radius: 20px;
    }
    #2141599
    Jeremy

    Are you able to direct me as to where I would insert this code?

    #2141612
    Fernando
    Customer Support

    Hi Jeremy,

    Here is an article you may refer to with regards to this: https://docs.generatepress.com/article/adding-css/#additional-css

    Specifically, you may go to Appearance > Customize > Additional CSS.

    Hope this helps! 🙂

    #2141615
    Jeremy

    That’s perfect! Thank you so much for the help.

    #2141624
    Fernando
    Customer Support

    You’re welcome Jeremy! We’re glad to be of assistance! Feel free to reach out if you’ll need assistance with anything else. 🙂

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