Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove underline from Topics


  • uksentinel
    Participant

    @uksentinel

    I am running a little custom CSS custom code to underline all my Hyperlinks on my BBPRESS forum, which work well, but I now wish to not underline Topics – can anybody advise addition code needed ?

    Thanks:

    main a {
    text-decoration: underline !important;
    }

    Site: uktechhub.com

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

  • Robin W
    Moderator

    @robin-w

    try

    a.bbp-topic-permalink {
    text-decoration: none: !important;
    }

    I’d add this after your css lines above.


    uksentinel
    Participant

    @uksentinel

    Hi Robin

    I placed code both above and below original CSS alas did not work, I assume because original css has priority ?


    Robin W
    Moderator

    @robin-w

    is it still in there?


    uksentinel
    Participant

    @uksentinel

    Yes, original code is still there, I did notice when I pasted in the new CCS code, the a.bbp-topic-permalink changed to a red colour ?


    uksentinel
    Participant

    @uksentinel

    and new code is still in


    Robin W
    Moderator

    @robin-w

    ok your code is

    main a {
    	text-decoration: underline !important;
    	a.bbp-topic-permalink { text-decoration: none: !important;
    	}: ;
    }

    it should be

    main a {
    	text-decoration: underline !important;
    }
    a.bbp-topic-permalink { 
            text-decoration: none: !important;
    }

    uksentinel
    Participant

    @uksentinel

    removed all CSS code and replaced it with you code as above, alas this did not work, maybe an conflict with theme ?


    Robin W
    Moderator

    @robin-w

    my mistake should be

    main a {
    	text-decoration: underline !important;
    }
    a.bbp-topic-permalink { 
            text-decoration: none !important;
    }

    uksentinel
    Participant

    @uksentinel

    Perfect, as always a big thank you for you time and support 😉


    Robin W
    Moderator

    @robin-w

    no problem – glad you are fixed !!

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Skip to toolbar