Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Forum Module /

Discuss the Forum Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

css newbie - remove the underline for links


Go to End


2 Posts   1791 Views

Avatar
macka

Community Member, 33 Posts

26 January 2011 at 9:50am

Edited: 26/01/2011 9:52am

Hi guys,

Css newbie really. But i would like to remove the line under an image on the forum module.
I managed to get rid of it using

#ForumContent a {
border-bottom-style: none;
}

But this removes all the underlines, and i would just like the one under an image (used as a link - "start new topic"), so i used

.forumFeatures a {
border-bottom-style: solid;
}

But using an inspector, the typography border-bottom-style seems to be the over-riding style.

Cheers
Grant

Avatar
Willr

Forum Moderator, 5523 Posts

26 January 2011 at 8:59pm

Try .forumFeatures a img { border: none }