Community Forums › Forums › Archived Forums › General Discussion › Remove Link Styling on Images in Sidebar
Tagged: images, links, minimum pro, Sidebar
- This topic has 8 replies, 5 voices, and was last updated 11 years, 10 months ago by
directionsnotincluded.
-
AuthorPosts
-
October 7, 2013 at 6:55 am #65647
Kent
ParticipantI'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.
http://kentfackenthall.com/dw1/bio/#Dad. Biker. Designer. | kentfackenthall.com
October 7, 2013 at 7:06 am #65648David Chu
ParticipantHi,
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 #65667Kent
ParticipantDave,
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 #65683jhguynn
MemberI'm stumped too, but would to know the answer when one comes along. "Bump".
October 7, 2013 at 3:13 pm #65712David Chu
ParticipantSpecifying 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 #65800Tom
ParticipantThere 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 #87940Kent
ParticipantHi 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 #87949jhguynn
Member"When the answer is simple, God is talking" Einstein.
March 21, 2014 at 8:51 pm #96022directionsnotincluded
MemberThank you! All the other options I've been trying today would not work. This did the trick for me.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.