[resolved] Disable underlines for image links - MagZine Theme (2 posts)

  1. 1nteresting
    Posted 4 years ago #

    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)

  2. 1nteresting
    Posted 4 years ago #

    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>

Topic Closed

This topic has been closed to new replies.

About this Topic