Skip to content

NodeBB customisation

Locked Customisation
332 4 217.8k 1
  • @jac said in NodeBB customisation:

    Is there any way to have the tag background In blue, with white writing and the number to be in yellow? but to all be together?

    Yes. See CSS below

    .tag-item {
        border-radius: 4px 0px 0px 4px;
        vertical-align: middle;
        float: left;
        width: auto;
        background-color: #194F90;
        color: #ffffff;
        font-weight: 500;
        position: relative;
        padding: 8px 5px 4px 10px;
        height: 39px;
        padding-right: 10px;
    }
    .tag-topic-count.human-readable-number {
        float: left;
        width: auto;
        margin-top: 0px;
        background-color: #FFC557;
        color: #333;
        padding: 8px 4px 0px 4px;
        border: 0;
        text-align: center;
        min-width: 50px;
        border-radius: 0px 4px 4px 0px;
        height: 39px;
    }
    

    Looks like this

    6f0dab65-9bab-41b3-a083-e6c2a2f5ff38-image.png

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Is there any way to have the tag background In blue, with white writing and the number to be in yellow? but to all be together?

    Yes. See CSS below

    .tag-item {
        border-radius: 4px 0px 0px 4px;
        vertical-align: middle;
        float: left;
        width: auto;
        background-color: #194F90;
        color: #ffffff;
        font-weight: 500;
        position: relative;
        padding: 8px 5px 4px 10px;
        height: 39px;
        padding-right: 10px;
    }
    .tag-topic-count.human-readable-number {
        float: left;
        width: auto;
        margin-top: 0px;
        background-color: #FFC557;
        color: #333;
        padding: 8px 4px 0px 4px;
        border: 0;
        text-align: center;
        min-width: 50px;
        border-radius: 0px 4px 4px 0px;
        height: 39px;
    }
    

    Looks like this

    6f0dab65-9bab-41b3-a083-e6c2a2f5ff38-image.png

    That looks absolutely amazing! Thank you very much!! 😁

  • @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Is there any way to have the tag background In blue, with white writing and the number to be in yellow? but to all be together?

    Yes. See CSS below

    .tag-item {
        border-radius: 4px 0px 0px 4px;
        vertical-align: middle;
        float: left;
        width: auto;
        background-color: #194F90;
        color: #ffffff;
        font-weight: 500;
        position: relative;
        padding: 8px 5px 4px 10px;
        height: 39px;
        padding-right: 10px;
    }
    .tag-topic-count.human-readable-number {
        float: left;
        width: auto;
        margin-top: 0px;
        background-color: #FFC557;
        color: #333;
        padding: 8px 4px 0px 4px;
        border: 0;
        text-align: center;
        min-width: 50px;
        border-radius: 0px 4px 4px 0px;
        height: 39px;
    }
    

    Looks like this

    6f0dab65-9bab-41b3-a083-e6c2a2f5ff38-image.png

    That looks absolutely amazing! Thank you very much!! 😁

    @jac You need to add the CSS though… 🙂 Don’t forget

  • @jac said in NodeBB customisation:

    Itz probably a longshot anyway, but is there any way to change the link colour on the quotes to yellow?

    Like this ?

    5883be0c-e2f0-4677-a4ac-58a1ba86cee7-image.png

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557;
    }
    

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Itz probably a longshot anyway, but is there any way to change the link colour on the quotes to yellow?

    Like this ?

    5883be0c-e2f0-4677-a4ac-58a1ba86cee7-image.png

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557;
    }
    

    Yes mate, brilliant mate, will apply these changes later.

    Great to see how a few changes make it look a lot better 😁

  • @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Itz probably a longshot anyway, but is there any way to change the link colour on the quotes to yellow?

    Like this ?

    5883be0c-e2f0-4677-a4ac-58a1ba86cee7-image.png

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557;
    }
    

    Yes mate, brilliant mate, will apply these changes later.

    Great to see how a few changes make it look a lot better 😁

    @jac Yep. Admittedly, I’ve taken some of the theming from Sudonix, but I’m ok with that.

  • @jac said in NodeBB customisation:

    look a bit more professional and cleaner

    Had another go at this. The best I’ve come up with is

    .recent-cards .recent-card-container .recent-card .recent-card-body {
        height: 143px;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 200px;
        max-width: 200px;
        line-height: 1.2;
        white-space: nowrap;
    }
    

    Which looks like the below

    3a53b0e8-0e22-4790-8428-f70ecdcdf403-image.png

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    look a bit more professional and cleaner

    Had another go at this. The best I’ve come up with is

    .recent-cards .recent-card-container .recent-card .recent-card-body {
        height: 143px;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 200px;
        max-width: 200px;
        line-height: 1.2;
        white-space: nowrap;
    }
    

    Which looks like the below

    3a53b0e8-0e22-4790-8428-f70ecdcdf403-image.png

    Thanks mate for all the efforts. I’ll leave it how it is for now and wait and see if it can be fixed sometime. Thank you for the efforts mate 😁.

  • @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    look a bit more professional and cleaner

    Had another go at this. The best I’ve come up with is

    .recent-cards .recent-card-container .recent-card .recent-card-body {
        height: 143px;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 200px;
        max-width: 200px;
        line-height: 1.2;
        white-space: nowrap;
    }
    

    Which looks like the below

    3a53b0e8-0e22-4790-8428-f70ecdcdf403-image.png

    Thanks mate for all the efforts. I’ll leave it how it is for now and wait and see if it can be fixed sometime. Thank you for the efforts mate 😁.

    Going to implement all of the above now…

    As for the footer widget I can’t remove the NodeBB text as I’m not on the laptop you, I’m happy to include phenomlab on there for all your efforts and continued help?

    Maybe something live Version 1 in the footer and then when a significant change is made the version number can be updated.

  • Going to implement all of the above now…

    As for the footer widget I can’t remove the NodeBB text as I’m not on the laptop you, I’m happy to include phenomlab on there for all your efforts and continued help?

    Maybe something live Version 1 in the footer and then when a significant change is made the version number can be updated.

    @jac said in NodeBB customisation:

    As for the footer widget I can’t remove the NodeBB text as I’m not on the laptop you, I’m happy to include phenomlab on there for all your efforts and continued help?

    Done 🙂

  • @jac said in NodeBB customisation:

    Itz probably a longshot anyway, but is there any way to change the link colour on the quotes to yellow?

    Like this ?

    5883be0c-e2f0-4677-a4ac-58a1ba86cee7-image.png

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557;
    }
    

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Itz probably a longshot anyway, but is there any way to change the link colour on the quotes to yellow?

    Like this ?

    5883be0c-e2f0-4677-a4ac-58a1ba86cee7-image.png

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557;
    }
    

    For some reason this didn’t appear to work, would this change make any URLs in a quote yellow too?

    Many thanks.

  • @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Itz probably a longshot anyway, but is there any way to change the link colour on the quotes to yellow?

    Like this ?

    5883be0c-e2f0-4677-a4ac-58a1ba86cee7-image.png

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557;
    }
    

    For some reason this didn’t appear to work, would this change make any URLs in a quote yellow too?

    Many thanks.

    @jac No - that just targets the mention name.

  • @jac No - that just targets the mention name.

    @phenomlab said in NodeBB customisation:

    @jac No - that just targets the mention name.

    For some reason it hasn’t worked mate?

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Many thanks as always!

  • @phenomlab said in NodeBB customisation:

    @jac No - that just targets the mention name.

    For some reason it hasn’t worked mate?

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Many thanks as always!

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac No - that just targets the mention name.

    For some reason it hasn’t worked mate?

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Many thanks as always!

    I think it’s because the mentions colour is set to white, I’ll find the other colour and change it.

  • @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac No - that just targets the mention name.

    For some reason it hasn’t worked mate?

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Many thanks as always!

    I think it’s because the mentions colour is set to white, I’ll find the other colour and change it.

    @jac said in NodeBB customisation:

    I think it’s because the mentions colour is set to white, I’ll find the other colour and change it.

    Use this

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557 !important;
    }
    
  • @phenomlab said in NodeBB customisation:

    @jac No - that just targets the mention name.

    For some reason it hasn’t worked mate?

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Many thanks as always!

    @jac said in NodeBB customisation:

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Can you send me a URL where this is an issue to save me trawling through your forum ? 🙂

  • @jac said in NodeBB customisation:

    I think it’s because the mentions colour is set to white, I’ll find the other colour and change it.

    Use this

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557 !important;
    }
    

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    I think it’s because the mentions colour is set to white, I’ll find the other colour and change it.

    Use this

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557 !important;
    }
    

    Fantastic mate, that’s sorted it 😁😁

  • @jac said in NodeBB customisation:

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Can you send me a URL where this is an issue to save me trawling through your forum ? 🙂

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Can you send me a URL where this is an issue to save me trawling through your forum ? 🙂

    Sure… here

  • @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Can you send me a URL where this is an issue to save me trawling through your forum ? 🙂

    Sure… here

    It’s probably my fault as I’ve chosen a background colour that natively clashes, would you prefer me to change the quote colour instead?

  • @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Can you send me a URL where this is an issue to save me trawling through your forum ? 🙂

    Sure… here

    @jac Use this

    blockquote a {
        color: #ffc557;
    }
    

    You’ll need a hover class as well otherwise the text will disappear when hovered over - use this

    blockquote a:hover {
        color: #db9716;
    }
    
  • @jac Use this

    blockquote a {
        color: #ffc557;
    }
    

    You’ll need a hover class as well otherwise the text will disappear when hovered over - use this

    blockquote a:hover {
        color: #db9716;
    }
    

    @phenomlab said in NodeBB customisation:

    @jac Use this

    blockquote a {
        color: #ffc557;
    }
    

    You’ll need a hover class as well otherwise the text will disappear when hovered over - use this

    blockquote a:hover {
        color: #db9716;
    }
    

    Worked a treat mate, thank you very much as always, a massive help! 😁😁

  • @phenomlab said in NodeBB customisation:

    @jac Use this

    blockquote a {
        color: #ffc557;
    }
    

    You’ll need a hover class as well otherwise the text will disappear when hovered over - use this

    blockquote a:hover {
        color: #db9716;
    }
    

    Worked a treat mate, thank you very much as always, a massive help! 😁😁

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac Use this

    blockquote a {
        color: #ffc557;
    }
    

    You’ll need a hover class as well otherwise the text will disappear when hovered over - use this

    blockquote a:hover {
        color: #db9716;
    }
    

    Worked a treat mate, thank you very much as always, a massive help! 😁😁

    I think all the changes may have affected this.

    Is there any way to replicate colours on the tags page for the widget?

    Sorry to be a pain… 🚕

  • @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac Use this

    blockquote a {
        color: #ffc557;
    }
    

    You’ll need a hover class as well otherwise the text will disappear when hovered over - use this

    blockquote a:hover {
        color: #db9716;
    }
    

    Worked a treat mate, thank you very much as always, a massive help! 😁😁

    I think all the changes may have affected this.

    Is there any way to replicate colours on the tags page for the widget?

    Sorry to be a pain… 🚕

    @jac Can you provide a screenshot ? Sorry. Not entirely sure I understand.


Related Topics
  • Forum customisation

    Customisation nodebb forum customised
    11
    2
    6 Votes
    11 Posts
    3k Views
    Thank you Mark, the changes look fantastic!!
  • who is read NodeBB

    Customisation read post nodebb
    6
    0 Votes
    6 Posts
    2k Views
    @cagatay You should ask in the NodeBB forums. Perhaps reference this post https://discuss.flarum.org/d/23066-who-read
  • Forum Icons NodeBB

    Solved Customisation icons forum nodebb
    13
    0 Votes
    13 Posts
    4k Views
    @cagatay That matches what I see [image: 1667218162107-4f0f858d-9812-42b1-9f61-ffb13d31dccd-image.png]
  • [NODEBB] Welcome Message

    Solved Customisation css html nodebb
    20
    2
    13 Votes
    20 Posts
    8k Views
    @DownPW the ‘js’ code for the banner takes the time from the client, so what it displays really depends on the regional settings for the operating system. I’ve not seen this issue myself but would like to see some examples of screenshots if possible.
  • NodeBB Footer

    Solved Customisation footer nodebb
    10
    1 Votes
    10 Posts
    3k Views
    @phenomlab said in NodeBB Footer: @jac and you. Hope all is well and you recover quickly Thanks pal
  • NodeBB Discord Plugins

    Unsolved Customisation nodebb discord plugin
    7
    0 Votes
    7 Posts
    3k Views
    @RiekMedia hi. Just following up on this thread (I know it’s old) but was curious to understand if it’s still an issue or not ?
  • NodeBB Design help

    Solved Customisation
    8
    3
    2 Votes
    8 Posts
    3k Views
    @riekmedia I’ve applied some new CSS to your site. Can you reload the page and try again ? For the record, this is what I added #footer { background: #2d343e; border-top: 4px solid #2d343e; font-size: 0.9em; margin-top: 70px; padding: 80px 0 0; position: relative; clear: both; bottom: 0; left: 0; right: 0; z-index: 1000; margin-left: -15px; margin-right: -338px; } The /categories page seems a bit messed up, so looking at that currently EDIT - issued some override CSS in the CATEGORIES widget <!--- CSS fix for overspill on /categories page - DO NOT DELETE --> <style> #footer { margin-right: -45px; } </style> That should resolve the /categories issue.
  • How to set a signature in NodeBB?

    Solved Customisation
    4
    2 Votes
    4 Posts
    2k Views
    @phenomlab said in How to set a signature in NodeBB?: @jac No issues at all with copying. This is set using the signature for the user you are posting as. In the case of Hostrisk, it’s set like the below [image: 1633427929198-7bf04183-f6e8-4d72-b0eb-c9a05c9cd24b-image.png] You can set the signature by using https://domain.com/user/theuser/edit Mamy thanks Mark, I’ll set this up later .