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
  • What plugins are being used here on Sudonix?

    Solved General nodebb plugins development
    6
    5 Votes
    6 Posts
    2k Views
    phenomlab
    @Roki-Antic Welcome! This site isn’t running Persona, but Harmony - a very heavily customised version at that. Do you have a URL where your site is currently located that is publicly accessible? Feel free to PM this info if you do not want to disclose here. Happy to help with any customisation needs.
  • Nodebb icon on google page

    Solved Customisation nodebb
    9
    1
    4 Votes
    9 Posts
    4k Views
    phenomlab
    @Panda It’s been raised multiple times, but only for the open source version, and not hosted.
  • Sidebar Widget is no longer on the side!

    Moved Solved General nodebb
    4
    2
    2 Votes
    4 Posts
    1k Views
    phenomlab
    @Panda said in Sidebar Widget is no longer on the side!: Ah, so sidebar wont work on mobile? Correct. If you review the docs on bootstrap, you’ll notice that it is designed on a grid system https://getbootstrap.com/docs/5.0/layout/grid/ What I mean by changing the category is moving it on here to general as you posted it in bugs, when it isn’t.
  • adding some console.log to Nodebb

    Solved Customisation nodebb
    4
    1 Votes
    4 Posts
    2k Views
    phenomlab
    @eeeee if you’re using the console, you could try node app.js > app.log 2>&1 This would redirect stdout to a file named app.log and redirect stderr to stdout. I’m not sure about standard logging under NodeBB, but there is an error log located at logs/error.log. Failing that, you could always stop the NodeBB service then use ./nodebb dev from the console which would then provide debug output.
  • nodebb loading emojis

    Solved Configure nodebb emojis
    16
    1
    1 Votes
    16 Posts
    6k Views
    phenomlab
    @DownPW sure. Let me have a look at this in more detail. I know nginx plus has extensive support for this, but it’s not impossible to get somewhere near acceptable with the standard version. You might be better off handling this at the Cloudflare level given that it sits in between the requesting client and your server.
  • NodeBB 3.0 alpha1 : Error on install

    Solved Configure nodebb version 3 install error
    19
    2 Votes
    19 Posts
    7k Views
    DownPW
    @phenomlab Work now
  • 4 Votes
    8 Posts
    5k Views
    phenomlab
    @DownPW done
  • 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