Skip to content

CSS codes for fa-info icon

Solved Customisation
9 2 3.1k 1
  • wrote on last edited by
    #1

    Hi @phenomlab , how are you?

    I have an info icon because of the glossary plugin, however, the icon is not at the place where I want it to be… I made it smaller with this code, however, I also want to change its position, I think I prefer it further above, on the upper right corner of the word. Do you know which codes should I use?

    Screen Shot 2022-01-30 at 4.55.37 PM.png

    .glossary-wrapper {
        .fa-info {
            font-size: .500em;
        }
    }
    
  • Hi @phenomlab , how are you?

    I have an info icon because of the glossary plugin, however, the icon is not at the place where I want it to be… I made it smaller with this code, however, I also want to change its position, I think I prefer it further above, on the upper right corner of the word. Do you know which codes should I use?

    Screen Shot 2022-01-30 at 4.55.37 PM.png

    .glossary-wrapper {
        .fa-info {
            font-size: .500em;
        }
    }
    
    wrote on last edited by
    #2

    @crazycells hi. Can you supply your site url so I can have a look ? Either here or via PM if you’d prefer.

  • Hi @phenomlab , how are you?

    I have an info icon because of the glossary plugin, however, the icon is not at the place where I want it to be… I made it smaller with this code, however, I also want to change its position, I think I prefer it further above, on the upper right corner of the word. Do you know which codes should I use?

    Screen Shot 2022-01-30 at 4.55.37 PM.png

    .glossary-wrapper {
        .fa-info {
            font-size: .500em;
        }
    }
    
    wrote on last edited by
    #3

    @crazycells Something like this would probably do it. Sadly, it requires position: absolute and you will need to play around with this to get the desired effect you are looking for, but it does work

    .glossary-wrapper .fa-info {
        font-size: .5em;
        display: inline-block;
        position: absolute;
        margin-left: -5px;
    }
    

    0723b195-74da-4ed3-8b85-be8499ea1ff9-image.png

  • @crazycells Something like this would probably do it. Sadly, it requires position: absolute and you will need to play around with this to get the desired effect you are looking for, but it does work

    .glossary-wrapper .fa-info {
        font-size: .5em;
        display: inline-block;
        position: absolute;
        margin-left: -5px;
    }
    

    0723b195-74da-4ed3-8b85-be8499ea1ff9-image.png

    wrote on last edited by
    #4

    @phenomlab yes, thanks a lot. this works 👍

  • crazycells crazycells has marked this topic as solved on
  • wrote on last edited by
    #5

    hi @phenomlab , I have a follow up question about the glossary plugin… is there any way to target the underlying “…” I want them smaller and maybe will change the color… I could not identify the specific class to target…

    Screenshot 2024-03-22 at 17.25.10.png

  • hi @phenomlab , I have a follow up question about the glossary plugin… is there any way to target the underlying “…” I want them smaller and maybe will change the color… I could not identify the specific class to target…

    Screenshot 2024-03-22 at 17.25.10.png

    wrote on last edited by phenomlab
    #6

    @crazycells You can find that here

    .glossary-wrapper .glossary-word {
        text-decoration: underline;
        text-decoration-style: dotted;
    }
    

    Specifically, you want to either remove or change the text-decoration-style value 🙂

  • @crazycells You can find that here

    .glossary-wrapper .glossary-word {
        text-decoration: underline;
        text-decoration-style: dotted;
    }
    

    Specifically, you want to either remove or change the text-decoration-style value 🙂

    wrote on last edited by
    #7

    @phenomlab thank you very much 👍

  • @phenomlab thank you very much 👍

    wrote on last edited by
    #8

    @phenomlab it looks like I am going with wavy… at least it does not interfere with the visibility of the word…

    Screenshot 2024-03-23 at 14.17.22.png

    is there any way to target the wave line only, and not the word? I am trying to change the color of the wavy line, but the code changes the color of the word too…

  • wrote on last edited by
    #9

    I have just figured it out…

    it can be targeted with text-decoration-color:

    I was mistakenly using color


Did this solution help you?
Did you find the suggested solution useful? Support 💗 Sudonix with a coffee ☕
If your organisation needs deeper expertise around infrastructure, security, or technology leadership, learn more about Phenomlab Ltd. Many of the deeper technical guides behind Sudonix are published there.

Related Topics
  • 2 Votes
    1 Posts
    639 Views
    No one has replied
  • how to hide "moved" badge with CSS?

    Solved Customisation nodebb
    12
    1
    3 Votes
    12 Posts
    4k Views
    phenomlab
    @crazycells ah, I see. That makes sense.
  • CSS codes to prevent votes to disappear

    Solved Customisation nodebb
    3
    1 Votes
    3 Posts
    1k Views
    crazycells
    @phenomlab yes, it is thanks a lot…
  • NodeBB: The global Search option

    Solved Configure search nodebb
    5
    0 Votes
    5 Posts
    1k Views
    phenomlab
    @mventures Yes, exactly. The other icon will restart NodeBB whilst the first icon I referenced will rebuild (recompile) it. The huge strength of NodeBB over Flarum (for example) is that the code is precompiled, and called once at boot. PHP’s code has to repeatedly reload code from source making it much slower.
  • 36 Votes
    55 Posts
    30k Views
    phenomlab
    @DownPW I see why. The code relies on the existence of [component="topic/quickreply/container"] However, this by definition means that the below has to be enabled [image: aeef638f-4188-489d-a9f2-f3a26dbca9d8-image.png] It will then work [image: 7fb38631-e0f3-46ef-b652-00929d927b13-image.png] For some unknown reason, this is hidden in Harmony, and only shows if you select it. In v2, it seems that the <section> is deleted altogether in Persona if “Quick Reply” is disabled, meaning it won’t fire as it can’t locate that specific component. The downside is that you might not want the quick reply function, but I think it’s a PITA to scroll up to the top of the post just to reply, so I have it on
  • Forum Icons NodeBB

    Solved Customisation icons forum nodebb
    13
    0 Votes
    13 Posts
    5k Views
    phenomlab
    @cagatay That matches what I see [image: 4f0f858d-9812-42b1-9f61-ffb13d31dccd-image.png]
  • New message CSS problem

    Unsolved Customisation css
    11
    1
    2 Votes
    11 Posts
    4k Views
    phenomlab
    @DownPW hi. Sorry for digging up an old post, but I’m going through items still unresolved and was looking to get an understanding of where you are currently with this?
  • Social icon (Nodebb)

    Solved Customisation nodebb social
    7
    0 Votes
    7 Posts
    3k Views
    JAC
    @phenomlab said in Social icon (Nodebb): @jac I just tested my theory around using the OG image, and according to the Twitter card validator, it works fine [image: 73e805e1-997b-41bf-9259-51c5052ca8fc-image.png] fixed