Skip to content

NodeBB customisation

Locked Customisation
332 4 134.4k 1
  • @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Title font appears to be bold compared? Although possibly same font.

    Ok, add this

    .topic h1 .topic-title {
        font-weight: 600;
    }
    

    Worked a treat again my friend, thank you very much as always!

    There’s probably going to be more changes on the way, if that’s ok? But like I’ve said previously I’m more than happy to put the Phenomlab stamp on it 👍🏻.

  • There’s probably going to be more changes on the way, if that’s ok? But like I’ve said previously I’m more than happy to put the Phenomlab stamp on it 👍🏻.

    I think this was done last time… Is there any way to add … To the slider if it has a certain amount of characters?

    Many thanks.

  • There’s probably going to be more changes on the way, if that’s ok? But like I’ve said previously I’m more than happy to put the Phenomlab stamp on it 👍🏻.

    @jac Fine. Just keep using this thread as we’ll document the changes along the way

  • @jac Fine. Just keep using this thread as we’ll document the changes along the way

    @phenomlab said in NodeBB customisation:

    @jac Fine. Just keep using this thread as we’ll document the changes along the way

    Many thanks mate, sounds good to me 😁.

  • I think this was done last time… Is there any way to add … To the slider if it has a certain amount of characters?

    Many thanks.

    @jac Something like this ?

    6845e44d-bfae-4e7b-925d-de3fb41c4e1d-image.png

    .recent-cards .recent-card-container .recent-card .topic-info p {
        max-width: 200px;
        margin: 0;
        width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }
    
  • @jac Something like this ?

    6845e44d-bfae-4e7b-925d-de3fb41c4e1d-image.png

    .recent-cards .recent-card-container .recent-card .topic-info p {
        max-width: 200px;
        margin: 0;
        width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }
    

    @phenomlab said in NodeBB customisation:

    @jac Something like this ?

    6845e44d-bfae-4e7b-925d-de3fb41c4e1d-image.png

    .recent-cards .recent-card-container .recent-card .topic-info p {
        max-width: 200px;
        margin: 0;
        width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }
    

    Thanks mate, yes like that but with the … At the end of the last word in the box?

  • @phenomlab said in NodeBB customisation:

    @jac Something like this ?

    6845e44d-bfae-4e7b-925d-de3fb41c4e1d-image.png

    .recent-cards .recent-card-container .recent-card .topic-info p {
        max-width: 200px;
        margin: 0;
        width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }
    

    Thanks mate, yes like that but with the … At the end of the last word in the box?

    @jac That’s not as simple as it looks unfortunately. The text isn’t formatted as a single line so the artefact of that is the multiple three dots you can see. It’s possible to consolidate this into one line, but it can only be for that particular view meaning you need explicit CSS.

    Happy to have another look, but it’s a lot of work for very little (cosmetic) gain.

  • @jac That’s not as simple as it looks unfortunately. The text isn’t formatted as a single line so the artefact of that is the multiple three dots you can see. It’s possible to consolidate this into one line, but it can only be for that particular view meaning you need explicit CSS.

    Happy to have another look, but it’s a lot of work for very little (cosmetic) gain.

    @phenomlab said in NodeBB customisation:

    @jac That’s not as simple as it looks unfortunately. The text isn’t formatted as a single line so the artefact of that is the multiple three dots you can see. It’s possible to consolidate this into one line, but it can only be for that particular view meaning you need explicit CSS.

    Happy to have another look, but it’s a lot of work for very little (cosmetic) gain.

    Thanks for looking mate, I seem to remember it was possible last time but I can’t find a screenshot to show you unfortunately.

    No sweat mate, I just thought it would look a bit more professional and cleaner 👍🏻.

  • @jac That’s not as simple as it looks unfortunately. The text isn’t formatted as a single line so the artefact of that is the multiple three dots you can see. It’s possible to consolidate this into one line, but it can only be for that particular view meaning you need explicit CSS.

    Happy to have another look, but it’s a lot of work for very little (cosmetic) gain.

    @phenomlab is there any way to change the colour of the tags?

    IMG_20211007_221027.jpg

    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?

    Many thanks 🤞🏻

  • @phenomlab is there any way to change the colour of the tags?

    IMG_20211007_221027.jpg

    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?

    Many thanks 🤞🏻

    Apologies to keep throwing these into the mix.
    .if the requests get too much let me know. I just find little changes here and there.

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

    Many thanks 🤝

  • @phenomlab said in NodeBB customisation:

    @jac That’s not as simple as it looks unfortunately. The text isn’t formatted as a single line so the artefact of that is the multiple three dots you can see. It’s possible to consolidate this into one line, but it can only be for that particular view meaning you need explicit CSS.

    Happy to have another look, but it’s a lot of work for very little (cosmetic) gain.

    Thanks for looking mate, I seem to remember it was possible last time but I can’t find a screenshot to show you unfortunately.

    No sweat mate, I just thought it would look a bit more professional and cleaner 👍🏻.

    @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 is there any way to change the colour of the tags?

    IMG_20211007_221027.jpg

    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?

    Many thanks 🤞🏻

    @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

  • Apologies to keep throwing these into the mix.
    .if the requests get too much let me know. I just find little changes here and there.

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

    Many thanks 🤝

    @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;
    }
    
  • @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 🙂


Related Topics
  • 6 Votes
    15 Posts
    3k Views
    No no, I said that in the sense that he told me it was simple ^^ I was able to see that this was not the case by targeting the elements he had advised me.
  • Forum Icons NodeBB

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

    Unsolved Customisation plugin stats script
    20
    1
    2 Votes
    20 Posts
    4k Views
    @phenomlab said in [NODEBB] Stats: @jac or I land up fixing it I wouldn’t put it past you
  • [NODEBB] Welcome Message

    Solved Customisation css html nodebb
    20
    2
    13 Votes
    20 Posts
    5k 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
    2k Views
    @phenomlab said in NodeBB Footer: @jac and you. Hope all is well and you recover quickly Thanks pal
  • [NodeBB] username cards

    Solved Customisation nodebb
    8
    5 Votes
    8 Posts
    2k Views
    @phenomlab Aha…nice to know. As always thank you for the reply and information.
  • How to set a signature in NodeBB?

    Solved Customisation
    4
    2 Votes
    4 Posts
    1k 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 .
  • Forum customisation

    Customisation forum customise
    17
    3 Votes
    17 Posts
    3k Views
    @jac said in Forum customisation: @phenomlab said in Forum customisation: @jac 100%. Just setting up some free time. I’m on annual leave from work offer the coming 2 weeks so hopefully will have a bit more time then. Not a problem Mark, I don’t wish for you to use all your spare time doing that, just do it when you can, no issues I know you’re busy doing other things but when you get a chance mate I’m happy for this to go ahead along with the RSS script.