WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Image links (10 posts)

  1. steph-angel
    Member
    Posted 8 years ago #

    Hi... All text links on my site (www.steph-angel.co.uk/blog) are highlighted with a specific colour, which is fine, but is there any way to prevent image links from being highlighted???

  2. devilmaycry
    Member
    Posted 8 years ago #

    When you say highlighted, do you mean the border that surrounds them? If so, then you can just set the value to 0 in the style.css file.

  3. steph-angel
    Member
    Posted 8 years ago #

    All of my images are posted without a border, but when I attach a link to any then they get highlighted with my link colour.

    Also, I don't have any image info in my style.css file. I've thought that maybe I could add some to try and fix the problem, but am a bit unsure how to go about this???

  4. Chris_K
    Member
    Posted 8 years ago #

    Well, your style sheet already has
    img.centered { display: block; margin-left: auto; margin-right: auto; }
    at the top.

    You might just want to want to add a catch all below it:

    img {border: 0px;}

    and see if that helps.

  5. steph-angel
    Member
    Posted 8 years ago #

    Yep that worked a treat...thanks a lot :)

  6. drursi08
    Member
    Posted 8 years ago #

    I have the same problem but couldnt fix it...

    my blog is http://www.sevenstripes.com/blog and if you see the image on the top right corner i want to remove the dotted link under it.

    any ideas on what I should change in my CSS?

    thank you so much
    d

  7. drursi08
    Member
    Posted 8 years ago #

    I've tried some more modifications of my css but nothings working without breaking my text-link format.

    any ideas?

  8. drursi08
    Member
    Posted 8 years ago #

    I am going crazy trying to figure this out. Can anyone please help?

  9. AndrewLilley
    Member
    Posted 8 years ago #

    I need an answer to this too. Anyone have the solution?

  10. Chris_K
    Member
    Posted 8 years ago #

    Answer to which question? There were several above you -- even some answers for some of them.

    And if you really are asking for help in styling images, you'll want to include a link and provide some clues about WHAT image you're after.

    Mind-reading-fu is weak here. ;-)

Topic Closed

This topic has been closed to new replies.

About this Topic