Issue with border around image

Homepage Community Forums Ally Theme Support Issue with border around image

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12931
    troy
    Customer

      I’m trying to get a border around images, but only on the front page and only in the sidebar.
      I’ve got the sidebar working, with this
      .alignleft {
      float: left;
      margin: 0 15px 10px 0;
      text-align: left;
      border: 1px solid #0e2941;
      padding: 3px;
      }

      The three images on the front page, the big ones, i cant seem to get, i got this in the style sheet.
      .alignnone {
      margin-bottom: 12px;
      margin-bottom: 0.75rem;
      border: 1px solid #0e2941;
      padding: 3px;
      }
      The border shows, but its kinda messed up
      oh yea, the website is

      https://personal-injury-doctor.com

      Any help would be appreciated, Thanks


      Life’s Hard, its a lot Harder if you are stupid

      #12937
      troy
      Customer

        Follow up, i took the above code out for the time being, still trying to work on this, Thanks


        Life’s Hard, its a lot Harder if you are stupid

        #12938
        troy
        Customer

          Ok, i think i got it.
          Not sure if this is right, but this is what works

          .home-feature-1 .featuredpost img,
          .home-feature-1 .featuredpage img {
          border: 1px solid #0e2941;
          padding: 3px;
          }
          .home-feature-2 .featuredpost img,
          .home-feature-2 .featuredpage img {
          border: 1px solid #0e2941;
          padding: 3px;
          }
          .home-feature-3 .featuredpost img,
          .home-feature-3 .featuredpage img {
          border: 1px solid #0e2941;
          padding: 3px;
          }

          This is resolved


          Life’s Hard, its a lot Harder if you are stupid

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The topic ‘Issue with border around image’ is closed to new replies.