WordPress.org

Ready to get started?Download WordPress

Forums

Don't know if this is strictly coding... (5 posts)

  1. Dot
    Member
    Posted 1 year ago #

    Hello!

    I got some great help on here for presenting my images, so I thought I'd try my luck:

    I have imputed a code to get a border around my pictures, which I imputted with Windows Live Writer, but didn't want a border around my header image, yet the important! rule I put into the editor doesn't seem to have worked; did I name it wrong?

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Without seeing the site, who knows...

  3. Dot
    Member
    Posted 1 year ago #

    Sorry
    Hello Yoig :0)

    http://deardot.com/

    (me again)

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Hi there back to you :)!

    Okay, yes, your CSS is not quite right -- this is what you have:

    # header img {
     border:none!important;
    }
    img {
       padding:1px;
       border:1px solid #021a40;

    Remove the above section from the style.css (child theme) -- it's the bottom part. Then add this:

    #branding img {
       padding: 0;
       border: none;
    }
  5. Dot
    Member
    Posted 1 year ago #

    I tried it in firebug, it worked
    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic