WordPress.org

Ready to get started?Download WordPress

Forums

How to change image view without border (2 posts)

  1. joe07
    Member
    Posted 5 years ago #

    My theme image view display with border, How to change image view without border

    Thanks.

    Style.css

    /*
    Theme Name: Vegetable
    Theme URI: http://www.wordpressthemesbox.com/
    Version: 1.0
    Description: 2 Column theme
    Author: Ashish sharma
    Author URI: http://www.wordpressthemesbox.com/
    */

    /* Links */

    a:link { text-decoration: none; color: #FF9229; }
    a:visited { text-decoration: none; color: #FF9229; }
    a:hover, a:active { color: #FF5A00; }

    /* Headings */

    h1, h2, h3, h4, h5, h6 { font-weight: normal; margin: 0px 0 10px; }
    h1 { font-size: 32px; margin-bottom: 0px; margin-top: 0px;}
    #navigation h1 a:link { color: #FFFFFF;}
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
    h4, h5, h6 { font-size: 20px; }

    /* Other Html Elements */
    .titles { font-weight: normal; border-bottom-width: 0; font-size: 22px; text-decoration: none; underline: none;}
    .titles a:link, .titles a:visited, .titles a:active {
    text-decoration: none;
    underline: none;
    font-size: 22px;
    font-weight: normal;
    border-bottom-width: 0;
    }

    pre, blockquote {
    overflow: auto;
    padding: 0 10px;
    margin: 20px 30px;
    line-height: 1.8em;
    background: #272727;
    border: 1px solid #313131;
    }

    pre:hover, blockquote:hover{
    background: #272727;
    border: 1px solid #313131;
    }

    pre { padding-top: 10px; padding-bottom: 10px; }
    code { color: #779900; font-family: Consolas, Verdana, "Courier New", Sans-Serif; }
    ul, ol { line-height: 2.0em; }
    ul { list-style:none }
    abbr, acronym { font-style: normal; border-bottom: 1px dotted #333333; cursor: help; }
    del { text-decoration: line-through; color: #999999; }
    ins { text-decoration: none; color: #009977; }

    /* Structure */

    body{
    margin: 0 auto;
    padding: 0;
    color: #222222;
    background-image: url(images/bg.gif);
    background-repeat: repeat-x;
    background-position: top;
    background-color: #39393A;
    font: normal 76% "Trebuchet MS", "Lucida Grande", Verdana, Georgia, Sans-Serif;
    }

    #wrapper2 {
    width: 950px;
    margin:0 auto;
    }
    #navigation{
    clear: both;
    float: left;
    width: 890px;
    background-image: url(images/header.jpg);
    height: 257px;
    padding-right: 10px;
    padding-left: 50px;
    padding-top: 20px;
    }

    #wrapper{
    clear: both;
    float: left;
    width: 100%;
    color: #a9a9a9;
    background: #000000;
    }

    #content-wrapper{
    width: 600px;
    float: left;
    text-align:left;
    }
    #content{
    float: left;
    padding: 0 0px 10px 30px;
    text-align:left;
    }

    #sidebar-wrapper{
    width: 330px;
    float: right;
    margin-top: 10px;
    clear:right;
    }
    #sidebar{
    float: right;
    padding: 0px 15px 10px 10px;
    width: 250px;
    margin-right: 15px;
    margin-top: 0px;
    }

    #footer{
    clear: both;
    float: left;
    width: 940px;
    text-align: left;
    color: #FF9229;
    font-size: 11px;
    background: #000000;
    padding:5px
    }

    #footer a {
    color: #FF9229;
    font-size: 11px;
    }

    #footer a: visited {
    color: #FF9229;
    }
    #footer a:hover {
    color: #FF5A00;
    border-bottom: 1px dashed #FF5A00;
    }
    #extras{
    float: left;
    width: 780px;
    color: #444444;
    text-align: left;
    padding: 0 10px 10px;
    margin: 10px 12px 20px;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    }

    /* Header */

    #header h1 { padding-left: 30px; }

    /* Navigation */

    #navigation ul { list-style-type: none; list-style-image: none; float: right; margin-top: 27px; padding: 0 0px 0 0; }
    #navigation li { float: left; }
    #navigation li a:link,
    #navigation li a:visited{
    float: left;
    color: #BABABA;
    background: #000000;
    border: 1px #0C0C0C;
    display: block;
    padding: 5px 10px;
    margin-right: 10px;
    height: 24px;
    font-size: 14px;
    margin-top: 4px;

    }

    #navigation li a:hover, #navigation li a:active{
    color: #BABABA;
    background: #1D1D1D;
    border: 1px #000000;
    background-repeat: repeat-x;
    font-size: 14px;
    margin-top: 4px;
    }

    #navigation li.active a{
    color: #a9a9a9;
    background-color: #ffffff;
    }

    /* Wrapper */

    #wrapper a:link { font-weight: bold; }
    #wrapper a:visited { font-weight: bold; }
    #wrapper a:hover, #wrapper a:active { }

    /* Content */

    #content .post-title a { border-bottom-width: 0; }
    #content .post p.img { float: left; margin: 0 15px 0 0; }
    #content .post p.img img { padding: 8px; border: 1px solid #d0d0d0; background-color: #eeeeee; }
    #content .post-footer {
    font-size: 90%;
    color: #888888;
    margin-bottom: 5px;
    padding:5px 5px 5px 15px;
    background-repeat: none;
    }

    /* Sidebar */

    .sideblock{
    padding: 5px 10px;
    margin-bottom: 20px;
    background: #1A1A1A;
    border: 1px solid #212121;
    }
    .post-wrapper {
    padding-left: 10px;
    width: 600px;
    margin-left: -20px;
    }

    .sideblock ul { }
    .sideblock li { border-top:1px solid #242424; display:block}
    .sideblock li:hover { background-color:#000000}
    .sideblock h3 { margin-top: 5px; font-size: 14px; color: #7B7B7B; font-weight: bold; }
    #sidebar dt { margin: 0; padding-top: 5px; font-weight: bold; color: #666666; }
    #sidebar dd { margin: 0 0 5px; padding-bottom: 5px; line-height: 1.8em; }
    #sidebar dd a:link { border-bottom-width: 0; font-weight: normal; border-bottom: none; text-decoration: none;}
    #sidebar dd a:visited { border-bottom-width: 0; font-weight: normal; border-bottom: none; text-decoration: none; }
    #sidebar dd a:hover, #sidebar dd a:active { border-bottom: none; text-decoration: none;}

    /* Extras */

    #extras h6 { font-size: 14px; text-transform: uppercase; color: #FFFFFF; }
    #friends{
    float: left;
    width: 150px;
    margin-left: 20px;
    margin-right: 10px;
    }

    #links{
    float: left;
    width: 275px;
    margin-right: 50px;
    }
    #about{
    float: left;
    width: 250px;
    margin-right: 20px;
    }
    #friends ul { padding-left: 20px; }
    #links dl, #links dt, #links dd { margin: 0; padding: 0; }
    #links dt { font-weight: bold; padding-top: 5px; }
    #links dd { margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px dotted #999999; }
    /* Comments Styling */
    #commentlist li {
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 1px solid #700000;
    }

    #commentform {
    margin: 1em 0;
    background: #000000;
    width: 280px;
    }

    #commentform textarea {
    background: #272727;
    border: 1px solid #313131;
    width: 280px;
    }
    #commentform textarea:hover {
    background: #272727;
    border: 1px solid #313131;
    }
    #commentform textarea:focus {
    background: #272727;
    border: 1px solid #313131;
    }

    #commentform #email, #commentform #author, #commentform #url {
    font-size: 1.1em;
    background: #272727;
    border: 1px solid #313131;
    width: 280px;
    }
    #commentform #email:hover, #commentform #author:hover, #commentform #url:hover {
    font-size: 1.1em;
    background: #272727;
    border: 1px solid #313131;
    width: 280px;
    }
    #commentform #email:focus, #commentform #author:focus, #commentform #url:focus {
    font-size: 1.1em;
    background: #272727;
    border: 1px solid #313131;
    width: 280px;
    }
    #commentform input{
    margin-bottom: 3px;
    }

    .date {
    background: url(images/date.gif) no-repeat;
    height: 58px;
    margin-bottom: 0px;
    width: 58px;
    text-align: center;
    float: left;
    margin-top: 15px;
    }
    .date .month {
    display: block;
    color: #FF7900;
    padding: 2px 0px;
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    margin-top: 2px;
    font-weight: bold;
    margin-bottom: 3px;
    }
    .date .day {
    display: block;
    color: #FFFFFF;
    font: 2.3em Georgia;
    padding-top: 0px;
    text-align: center;
    margin-top: -8px;
    }

    #left {
    width: 60px;
    float: left;
    }

    .slogan {
    font-size: 13px;
    color: #F06A35;
    text-transform: lowercase;
    margin-bottom: 2px;
    }

  2. bishan
    Member
    Posted 5 years ago #

    use this code in style.css

    below a:hover, a:active { color: #FF5A00; }

    a img{
    border:none:
    }

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.