Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS post image padding in wordpress

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45895
    slaggsten
    Member

    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?

    #140614
    JohnMac4
    Member

    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;
    }

    #140636
    slaggsten
    Member

    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?

    #140746
    JohnMac4
    Member

    It didn’t for me when I viewed it.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.