Home Forums WordPress Themes – Premium Preference Can the image border be removed entirely?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #13972

    There is an image border at the bottom of every image. I see how the color can be changed but is there a way to remove it entirely? I changed the color to white which works on the main sections since my background is white but looks really funny when I have a colored background.

    #18064
    Sushil Adhikari
    Moderator

    Yes… the style for images is found in the style.css file around line 873 and looks like this:

    [code type=css]
    /*.gj-portfolio-intro-image img,*/
    .img-intro img,
    .img-intro-left img,
    .img-intro-right img,
    .img-intro-none img,
    .imageborder,
    .contact-image img,
    .entry-attachment img,
    img.alignnone,
    img.alignright,
    img.alignleft,
    img.aligncenter,
    div.wp-caption img {
    border-bottom:8px solid #78a5b6;
    }

    #18065

    So, can I just delete that border-bottom code?

    #18066
    Sushil Adhikari
    Moderator

    yes… but I hope you are using a child theme for this modification so that any future updates of the theme, your changes won’t be lost. Another method is when using a child theme, copy the above code but for the styling, just do this:

    { border-bottom: display: none; }

    #19693
    Lisa M
    Participant

    When I enter the “display: none” part of the code I get an Expected RBRACE error at the colon. What am I doing wrong?

    .wp-caption img {
    border-bottom: display: none;
    }

    #19695
    Sushil Adhikari
    Moderator

    You almost got it, but it should be this:

    .wp-caption img {
    border-bottom: none;
    }
    #13973
    Lisa M
    Participant

    Thank you.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.