Remove Image White Borders

Viewing 10 posts - 1 through 10 (of 10 total)
  • #5630
    bpayne
    Participant

    I have uploaded a custom header image but it appears to be displaying with a white border. I have tried to change the css in both the ‘theme options design’ and ‘Editor’ by looking for all img tags and {border:none 0px; padding: 0px} nothing like that seems to work. I managed to remove all the white borders around all the other img tags for this theme, but my header is stubborn! πŸ™‚ Any help please? πŸ™‚

    Here is the site: http://www.ca-city.kattare.com/

    #5631
    Jos Klever
    Participant

    There are 2 issues:
    1. the white border can be removed by:
    #header-img {
    padding: 0;
    }

    2. You have to edit your header image when you want to remove the rest of the white border on the left and right (they are in your image).

    #5632
    bpayne
    Participant

    Thanks for the quick reply! Very grateful for forums!

    1) I entered it in but there does not seem to be any change. I put it in ‘theme options>design’ and when that didn’t work I tried to find #header-img in the ‘Editor’ code…no luck.

    2) I exaggerated the crop on the graphic so I would make sure it was not the jpeg this time.

    Any other advice?

    #5633
    bpayne
    Participant

    Okay- Never Mind! Silly me!

    You were right! My problem was that I was searching for the img tag but the code was written as: #header-image with a % on the padding!

    Thanks again Jos

    #5635
    Jos Klever
    Participant

    Oops, you’re right…
    The typo was my mistake…

    #7276
    Twan
    Participant

    Could you help me with the right Design Custom CSS when I want to remove the white borders around images that are on the pages and posts?

    Thanks in advance.

    #7277
    Jos Klever
    Participant

    As I said, you have to use the following CSS code:
    #header-image {
    padding: 0;
    )

    If that doesn’t work, then please give the url…

    #7280
    Twan
    Participant

    hello Jos, it is already solved. Thanks for the reply.

    #14119
    johnclassick
    Participant

    I’m sorry…where do you put this code?

    style.css? I tried to change the percentage to 0, and the border is still there.

    #14298
    johnclassick
    Participant
Viewing 10 posts - 1 through 10 (of 10 total)

Tagged: ,

You must be logged in to reply to this topic.