We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10489
    • 93 Posts
    Hi all,

    I have a link issue. I created a page and added 5 images to the content. I then linked each image to different pages.
    I see the images now have borders around them indicating that they are clickable, my question is which css file do i need to edit to remove these borders. I makes the images look rather ugly.

    I have checked and it’s definitely not styled via my template stylesheet, so it must be a MODx stylesheet

    Thanks
    Garth
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      By default all browsers put borders around images that are links. In your CSS, you’ll need to add something like "img{border:none;}". You can also use inline styling for each image, with style="border:none;"
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 10489
        • 93 Posts
        Thanks sottwell

        That’s pretty basic, i should have know that smiley

        Garth