Skip to:
Content
Pages
Categories
Search
Top
Bottom

remove CSS underline from links (bp default theme)

  • Avatar of mehdi-w
    mehdi-w
    Participant

    @mehdi-w

    hello
    Is anybody knows how can I remove underline from links in bp default theme?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @mehdi-w could you be more specific? Which links in what page/screen?

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @mehdi-w
    If you are referring to the profile links then this little nugget might help:

    https://github.com/bphelp/bp-remove-profile-links

    Download the zip and install like any other plugin.
    Otherwise as @mercime asked you need to be more specific.

    Avatar of mehdi-w
    mehdi-w
    Participant

    @mehdi-w

    underline from link words
    I mean remove underline frome link words not like this picture(has underline)!
    in all places of buddypress.

    Avatar of mattg123
    mattg123
    Participant

    @mattg123

    @medhi-w I advise you to go and learn some basic css but a {text-decoration:none;} will do what you want

    Avatar of mehdi-w
    mehdi-w
    Participant

    @mehdi-w

    @mattg123
    thanks
    but where I add this code exactly?(a {text-decoration:none;})
    In which file and In which line(or part of code)?

    Avatar of mattg123
    mattg123
    Participant

    @mattg123

    @mehdi-w you should google “css” and learn some of the basics but…. place that at the top of default.css, it should fix the majority of the links, the ones still have an underline have more specific css selectors.

    Avatar of mehdi-w
    mehdi-w
    Participant

    @mehdi-w

    @mattg123
    thanks again for reply.
    I did it but not worked!
    I try this code in:
    default.css
    default-rtl.css

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @mehdi-w first of all, please be advised that the BP Default theme is going to be retired soon
    per http://bpdevel.wordpress.com/2013/11/13/the-future-of-the-bp-default-theme/ and I suggest that you find another theme as BP is now compatible with nearly all WordPress themes right after activation. You might need to tweak some styles in some WP themes but in general, should be good to go.

    Going back to your question, add that code at the very bottom of the default.css and
    default-rtl.css files.

    Avatar of mehdi-w
    mehdi-w
    Participant

    @mehdi-w

    @mercime
    thanks for help.
    I was try this instructions again but it didn’t work!!!
    No change in theme was seen!

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    @mehdi-w The ruleset example does work as originally given you and placed where suggested, so if it isn’t then you either have a modified theme which you haven’t informed us of or you have added the ruleset incorrectly, sadly as you provide no information as to what you attempt each time we are just stabbing at solutions for you.

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.