Grow your CSS skills. Land your dream job.

post image padding in wordpress

  • # June 26, 2013 at 1:57 pm

    Hey everyone.

    So i have a problem on my wordpress website.

    http://anton.stallbacka.com/

    everything looks good on the homepage, but once you click reply on a post a picture in it, the padding for the entry-content creeps out, and the picture sticks out to the right.

    Any suggestions?

    # June 26, 2013 at 4:25 pm

    It looks like the home page is grabbing the child theme css, the reply page isn’t. Since the reply page isn’t grabbing the child theme CSS, these classes are being applied to the reply page.

    .one-column.singular .entry-header, .one-column.singular .entry-content, .one-column.singular footer.entry-meta, .one-column.singular #comments-title {
    width: 100%;
    }

    img[class*="align"], img[class*="wp-image-"], #content .gallery .gallery-icon img {
    border: 1px solid #ddd;
    padding: 6px;
    }

    # June 26, 2013 at 6:15 pm

    oh thanks!

    with this i could change the width to 90% and the image is now all good, but now my post-title moved to the left, why?

    # June 27, 2013 at 1:40 pm

    It didn’t for me when I viewed it.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".