Ive asked to much , but have border around image issue

Homepage Community Forums Ally Theme Support Ive asked to much , but have border around image issue

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12953
    troy
    Customer

      I have battled this image thing for quite some time, but I wanted to ad borders around images in the website, but I did not want borders around all the images.

      I know this sounds weird, there are a couple of images on a couple of pages I don’t want borders on.
      I posted in word press, but they are not much help, they always point you back to the theme developer.
      Its not a theme developer issue. I’m sure its a <span or something like that you put in the code around each image, I just cant figure it out.
      I could change the CSS to put borders around all the images and then just put some code in to stop it from appearing on the images I don’t want borders around, I know, I’m confusing myself

      Oh yea, HAPPY FOURTH OF JULY


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

      #12964
      Eric
      Customer

        Yes this is definitely doable. Do you have a link?

        How are the images added? Are you adding them yourself (inline)? Or are they being automatically added through WordPress or a plugin? If you are adding them yourself, then you can create a CLASS in your css and add that class in your code for when you want the border to show up……which means all other images added without the class won’t show the border since the CLASS wasn’t added to them. Does that make sense?

        If you need an example of what I’m referring to just let me know.


        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #12973
        troy
        Customer

          Thanks for the reply Eric. I am using word press to add them.
          What you are saying makes sense, and example would be helpful
          Here is were I want borders
          https://personal-injury-doctor.com
          here is were I do not want borders
          https://personal-injury-doctor.com/join
          but this was done in css with the img align right ( no border), there will be some images that align right that I would like to put a border around, I’ve fried my brain trying to figure this out, its no good anymore, I appreciate your help
          Thank you


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

          #12998
          troy
          Customer

            Ok, I finally got this resolved
            I added this in my style sheet

            .border-black {
            border: #000 solid 1px;
            padding: 4px;
            }

            When I want to add a border on a certain image, I open the image on the page in the WP editor after I have put the image on the page and add border-black to the css class in the image advanced options.


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

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The topic ‘Ive asked to much , but have border around image issue’ is closed to new replies.