WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
[resolved] PNG and Gif Images have thin border around them (7 posts)

  1. k00kaine
    Member
    Posted 1 year ago #

    Does anybody know where at in the styling sheet where I can remove these thin shadows around my transparent GIF's or PNG's.

    I've done some research and from what I can tell, it is a "box-shadow:" setting that will most likely need to be set to "none", I just cant seem to find it.

    Any help would be appreciated. Thanks!

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Download and install this Custom CSS Manager plugin.

    Then, within its allocated section of the dashboard, enter this;

    .entry-content img,
    .comment-content img,
    .widget img,
    img.header-image,
    .author-avatar img,
    img.wp-post-image {
     box-shadow: none;
    }
  3. k00kaine
    Member
    Posted 1 year ago #

    Thanks for such a quick respone!

  4. k00kaine
    Member
    Posted 1 year ago #

    Is the Custom CSS Manager plugin the same thing as creating a child theme?

    So I won't need to create a child theme, as I can just edit the css changes there?

    Also, If I were to create changes to other files such as functions.php, then I would have to do it by creating the child theme folder I would assume. But I can leave the style.css out of the folder because it's being managed by Custom CSS Manager?

    hope that makes sense lol

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    No, you would still need to have the style.css file in your child theme for it to work properly - but you don't necessarily have to put any styles in it. Just the top required header and the @import line ARE required.

    Also, it's a lot more work to create a child theme later - so if you think you may want to modify other files, do the child theme now :).

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    Is the Custom CSS Manager plugin the same thing as creating a child theme?

    Almost, but a Child Theme allows much more customisations like changes to PHP and HTML.

    If you have a Child Theme, you do not need to download the Custom CSS plugin. You can use the style.css file of your Child Theme.

    Also, If I were to create changes to other files such as functions.php, then I would have to do it by creating the child theme folder I would assume.

    Yes, that's right.

    But I can leave the style.css out of the folder because it's being managed by Custom CSS Manager?

    No, sorry, you'll still need your style.css file in your Child Theme.
    You should either use a Child Theme or Custom CSS plugin.

  7. k00kaine
    Member
    Posted 1 year ago #

    Awesome thanks guys, I see now.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic