• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Remove Link Styling on Images in Sidebar

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Remove Link Styling on Images in Sidebar

This topic is: resolved

Tagged: images, links, minimum pro, Sidebar

  • This topic has 8 replies, 5 voices, and was last updated 11 years, 10 months ago by directionsnotincluded.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • October 7, 2013 at 6:55 am #65647
    Kent
    Participant

    I'm trying to remove the white underline/border of linked images in the sidebar of the Minimum Pro theme and I can't seem to track down the CSS for that. I think I probably need to add some to 'style it out' but i'm not sure where/how to do that. Suggestions? Thanks.


    Dad. Biker. Designer. | kentfackenthall.com

    http://kentfackenthall.com/dw1/bio/#
    October 7, 2013 at 7:06 am #65648
    David Chu
    Participant

    Hi,
    A modern hipster move is to use borders instead of normal underlined links. Here's a way to pull those out. If you took out the textwidget part it would remove underlines from other sidebar links, too. If you're mixing and matching you may need to be very specific. 🙂

    .sidebar .textwidget a {
      border-bottom: 0;
    }
    

    Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

    October 7, 2013 at 9:17 am #65667
    Kent
    Participant

    Dave,

    Thanks for that. When I put your code in, it does indeed nuke the underlines for my text links as well, which I don't want.

    When I try this:

    .sidebar .textwidget a img {
      border-bottom: 0;
    }

    Nothing changes. I'm stumped.


    Dad. Biker. Designer. | kentfackenthall.com

    October 7, 2013 at 11:19 am #65683
    jhguynn
    Member

    I'm stumped too, but would to know the answer when one comes along. "Bump".

    October 7, 2013 at 3:13 pm #65712
    David Chu
    Participant

    Specifying IMG will do nothing because it's inside the link that is being styled. This will work, and will leave any other sidebar widget's links alone, but you won't be able to use any other links in that specific widget without killing the dots. Take a look at the HTML to see what's happening.

    .sidebar #text-6 a {
      border-bottom: 0;
    }
    

    Anything beyond that, you'll probably need to get a developer working on it.

    Good luck,
    Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

    October 8, 2013 at 12:33 am #65800
    Tom
    Participant

    There is a very good review of options on this page: Pure CSS: Remove Link Properties for Linked Images with Borders ... however, they're not working for me tonight.

    Anyone else want to have a look at some of these potential methods?


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    January 31, 2014 at 8:35 am #87940
    Kent
    Participant

    Hi everyone, FWIW, I wrote support and got this answer. It worked.

    "I would recommend creating a class to use when you don't want a border. Add this to your style.css file."

    .noborder {
          border: none;
    }

    Then, you can use that like this:

    <a class="noborder" href="#">stuff</a>


    Dad. Biker. Designer. | kentfackenthall.com

    January 31, 2014 at 9:47 am #87949
    jhguynn
    Member

    "When the answer is simple, God is talking" Einstein.

    March 21, 2014 at 8:51 pm #96022
    directionsnotincluded
    Member

    Thank you! All the other options I've been trying today would not work. This did the trick for me.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble