Need help on 1 little thing
-
Can anyone help me, I just want to edit one little thing on my theme. I’m using the Ocean Mist theme & I want to remove the red border around all my pictures. I think it’s to indicate that you can click on it and make it bigger? TIA.
-
If you click on your images, you’ll find they open as a file, just the image with no page around it. The border is showing because the image is linked. If you don’t want your images linked, the solution is easy: just select Link NONE when you upload the image. If you DO want it linked, you’ll have to fiddle a bit. Here is the answer I found by searching the forums for “Image border”:
In the HTML editor, change the image code from this:
<img src=[etc]
to this:
<img style=”border:none;” src=[etc]In the visual editor, click image, click mountain icon, click Advanced Settings, type 0 in the “Border” box, click Update.
-
OOPS! I’m so sorry I just noticed this thread was posted to the CSS customization forum — please ignore my comment above.
-
If you have the CSS upgrade add the line below to the existing stylesheet. Otherwise timethief’s tip above about adding the style attribute to the HTML tag is the way to go.
img {border:none;}lh
-
Oh thanks! I clicked on the NONE and it removed the border. Problem solved- I don’t really mind if they can be clickable or not right now.
-
hallluke, if I did want them to be clickable do I just add that code anywhere on the stylesheet?
-
It won’t change the links, just remove the border. You want to make sure the “add to existing stylesheet” box is checked and then add just that line of code. Make sure you don’t copy all the exiting syle rules and paste that in too because it tends to break things!
lh
- The topic ‘Need help on 1 little thing’ is closed to new replies.