• Resolved essemme

    (@essemme)


    I’ve found a lot of question about this issue but none of them seemed to work for my theme.
    I’ve never found the right lines of code in my style.css… If I copy my code can you help me to find out where are the lines I need to edit?
    Thank you so much.

    Stefano

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you post a link to your site? Just looking at code is much harder (and sometimes useless) for issues like this.

    Alternatively, use a tool such as Firebug to “inspect” the images and see which CSS is creating the borders.

    Thread Starter essemme

    (@essemme)

    This is my website’s url https://www.stefanomontagna.com/(still testing it).
    This is a page with some image in it: https://www.stefanomontagna.com/foto/reportage/

    I removed (partially, as a matter of fact) the border by adding this style="border: medium none ; padding: 0pt;" alt="Picture" in the <a> tag, but it’s kind of annoying to do so for each image and it doesn’t remove the border entirely.

    If you could help me to figure out how to remove the border autmatically by customize my theme template, I’d be very thankful!

    s.

    Look in your stylesheet line 29 for this:

    img.aligncenter, img.alignright, img.alignleft {
        background: none repeat scroll 0 0 #F3F3F3;
        border: 1px solid #DDDDDD;
        padding: 4px;
        text-align: center;
    }

    That’s adding borders to images.

    Thread Starter essemme

    (@essemme)

    Thank you so much!!!
    I finally did it!

    s.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove image borders’ is closed to new replies.