WordPress.org

Ready to get started?Download WordPress

Forums

my smilies have a white border (3 posts)

  1. victoriavain
    Member
    Posted 5 years ago #

    http://green-products.tv/

    I took the smilies and changed the background to light green to match my container box that is green and there still is a white border box around my smilies. I just want smilies that have a background that match my container.

    I am using the Tango/GNOME Smilies plugin and should I add a no border tribute to the plugin or my css template. I have no idea how to get rid of this border.

    THanks

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Edit style.css and change:

    .post-content img {
    background-color:#F7F7F7;
    padding:2px;
    }

    to

    .post-content img {
    padding:2px;
    }
  3. EMG
    Forum Volunteer
    Posted 5 years ago #

    Try changing these values:

    .post-content img {
    	padding: 2px;
    	background-color: #f7f7f7;
    }

    Set the padding to 0px and remove the background color altogether.

    Alternatively, as doing so will affect ALL images in your post, even the ones you do want a border or padding or whatever, you can try adding this:

    .wp-smiley img {
            padding: 0px;
            background-color: transparent;
            border: 0px;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic