[Resolved] Fix image to right hand edge of webpage

Home Forums Support [Resolved] Fix image to right hand edge of webpage

Home Forums Support Fix image to right hand edge of webpage

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1510925
    Ben

    Hi,

    I’m trying to fix an image on the right hand edge of a web page so it “bleeds off” and is “locked”. I guess this would require overwriting the container settings for the site as a whole, but I don’t know CSS well enough on how to do this.

    The page is https://staging3.enrola.co.uk/

    Can you help please?

    #1511346
    Ben

    Never mind – I’ve fixed it in image settings. However, I’m now getting a small margin at the bottom of the image to the next section (about 10px).

    It’s the first image on the page.

    #1511446
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .gb-inside-container .wp-block-image {
        margin-bottom: 0;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #1513359
    Ben

    That’s absolutely perfect – thanks Leo!

    #1513648
    Leo
    Staff
    Customer Support

    No problem 🙂

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