Support » Themes and Templates » Disable underlines for image links – MagZine Theme

  • Resolved 1nteresting

    If you go to my website, I have a header image which I do not want a underline, and I also have, on the sample page, a few social links in the sidebar that I do not want underlines on. I understand that this theme uses border-bottom, but even when adding a class to the header image with border-bottom:none, it refuses to get rid of the underline. Thanks! (if I even get a response, haha, WordPress forums are dead)

Viewing 1 replies (of 1 total)
  • Got it. The underline wasn’t for “img”, but for “a”. So, I added a nounderline class to the link that surrounded my image. It worked.

    <a href="<?php echo get_option('home'); ?>/" class="nounderline"><img src="blah"/></a>

Viewing 1 replies (of 1 total)
  • The topic ‘Disable underlines for image links – MagZine Theme’ is closed to new replies.