• Hi,

    Forgive me if this is a beginner question.
    Here is the website in question: https://mirador.cathywu.com/2016/11/09/solo-female-trekking-with-a-40l-pack-las-torres-del-paine-w-trek/
    I am using the lifestyle child theme and want to close the huge gap between my inserted images and text. I believe it is in the image margins here that I need to change:

    img.centered,
    .aligncenter {
    	display: block;
    	margin: 0 auto 24px;
    }

    However, when I change it to 0px, nothing happens to my site. I changed other things and no changes show up. I even erased the entire CSS stylesheet to see what would happen… and my site remained intact.

    How can I make the changes in the CSS stylesheet show up in my site? I am editing it from appearance -> editor in WordPress with the lifestyle theme selected.

    Thank you for any help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you be more specific about which images you’re having an issue with as the images on the post you linked seem to appear fine to me.

    Thanks.

    Thread Starter cathytxtwfr

    (@cathytxtwfr)

    I would like the text immediately after the photo to butt up against the bottom of the image, currently there is a gap of one line from the margins of the photo. I will make a screenshot later today to show what I mean.

    Add this to your Child Theme style.css file, or using a Custom CSS plugin.

    .entry-content img {
        margin: 0 auto;
    }

    This should work fine for you.

    Thread Starter cathytxtwfr

    (@cathytxtwfr)

    Hi,

    Thank you for the advice.

    I added the code (copied and pasted it into the css file) but nothing has changed?

    I don’t understand why playing with the CSS isn’t making any differences for me :/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS stylesheet changes do not show’ is closed to new replies.