Skip to content

NodeBB customisation

Locked Customisation
332 4 274.3k 1
  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac what are you looking for ?

    I’m not on the laptop currently so am unable to do it, but was thinking of maybe moving the message that’s displayed and just showing that for now on the home page only?

    As for the titles, maybe a blue background with white writing? May look bad but I’m trying to (with the great help from yourself) make it very much fit in with Stockport colours at every opportunity without overdoing it ;).

    wrote on last edited by

    @jac Ok. Might make sense to put together a mock up of sorts and I’ll work from that.

  • @jac Ok. Might make sense to put together a mock up of sorts and I’ll work from that.

    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac Ok. Might make sense to put together a mock up of sorts and I’ll work from that.

    Thanks mate. Will do 😁

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac Ok. Might make sense to put together a mock up of sorts and I’ll work from that.

    Thanks mate. Will do 😁

    wrote on last edited by

    What I want is where the title is to be blue in the background, with white font?

    And then I thought well this will clash with the menu bar that is also blue so I don’t know whether it can be done but maybe a yellow line to separate the menu and the article title?

    Many thanks.

    IMG_20211011_193140.jpg

  • JAC JAC

    What I want is where the title is to be blue in the background, with white font?

    And then I thought well this will clash with the menu bar that is also blue so I don’t know whether it can be done but maybe a yellow line to separate the menu and the article title?

    Many thanks.

    IMG_20211011_193140.jpg

    wrote on last edited by

    @jac I’m not so sure about this

    5745540e-3637-4e32-abe5-91e2f8774d11-image.png

    It’s too much blue (my opinion). I’d do this

    .topic-title {
        font-weight: 300 !important;
    }
    
    .topic [component="post/header"] {
        margin-top: 0;
        background: #ffc557;
        color: #00205c;
        padding-left: 20px;
        padding-bottom: 5px;
    }
    

    It’s in keeping with the club colours, and will look like this

    e1c76f50-8740-4b12-8c5a-011ff446a46f-image.png

  • @jac I’m not so sure about this

    5745540e-3637-4e32-abe5-91e2f8774d11-image.png

    It’s too much blue (my opinion). I’d do this

    .topic-title {
        font-weight: 300 !important;
    }
    
    .topic [component="post/header"] {
        margin-top: 0;
        background: #ffc557;
        color: #00205c;
        padding-left: 20px;
        padding-bottom: 5px;
    }
    

    It’s in keeping with the club colours, and will look like this

    e1c76f50-8740-4b12-8c5a-011ff446a46f-image.png

    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac I’m not so sure about this

    5745540e-3637-4e32-abe5-91e2f8774d11-image.png

    It’s too much blue (my opinion). I’d do this

    .topic-title {
        font-weight: 300 !important;
    }
    
    .topic [component="post/header"] {
        margin-top: 0;
        background: #ffc557;
        color: #00205c;
        padding-left: 20px;
        padding-bottom: 5px;
    }
    

    It’s in keeping with the club colours, and will look like this

    e1c76f50-8740-4b12-8c5a-011ff446a46f-image.png

    Wow that looks great!!!

    ,😁😁😁

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac I’m not so sure about this

    5745540e-3637-4e32-abe5-91e2f8774d11-image.png

    It’s too much blue (my opinion). I’d do this

    .topic-title {
        font-weight: 300 !important;
    }
    
    .topic [component="post/header"] {
        margin-top: 0;
        background: #ffc557;
        color: #00205c;
        padding-left: 20px;
        padding-bottom: 5px;
    }
    

    It’s in keeping with the club colours, and will look like this

    e1c76f50-8740-4b12-8c5a-011ff446a46f-image.png

    Wow that looks great!!!

    ,😁😁😁

    wrote on last edited by

    As for the blue one, would that look any better with the blue info block removed at all? Or is it still too much?

    Many thanks mate 😁

  • JAC JAC

    As for the blue one, would that look any better with the blue info block removed at all? Or is it still too much?

    Many thanks mate 😁

    wrote on last edited by

    @jac I think it’s too much because of the header being the same colour. A blue of they shade will only work if there is something in between it. It’s made much worse as the thread gets longer.

    When the page is scrolled, the title is set to sticky meaning that it’s always visible at the top of the screen. This means the colour is never out of view and is then dominant.

    The yellow is a better choice as it’s not being used anywhere else in the thread and as a result won’t look overdone.

  • @jac I think it’s too much because of the header being the same colour. A blue of they shade will only work if there is something in between it. It’s made much worse as the thread gets longer.

    When the page is scrolled, the title is set to sticky meaning that it’s always visible at the top of the screen. This means the colour is never out of view and is then dominant.

    The yellow is a better choice as it’s not being used anywhere else in the thread and as a result won’t look overdone.

    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac I think it’s too much because of the header being the same colour. A blue of they shade will only work if there is something in between it. It’s made much worse as the thread gets longer.

    When the page is scrolled, the title is set to sticky meaning that it’s always visible at the top of the screen. This means the colour is never out of view and is then dominant.

    The yellow is a better choice as it’s not being used anywhere else in the thread and as a result won’t look overdone.

    Thanks for the advice mate, no I agree the yellow would be a better choice definitely. I’ll apply now.

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac I think it’s too much because of the header being the same colour. A blue of they shade will only work if there is something in between it. It’s made much worse as the thread gets longer.

    When the page is scrolled, the title is set to sticky meaning that it’s always visible at the top of the screen. This means the colour is never out of view and is then dominant.

    The yellow is a better choice as it’s not being used anywhere else in the thread and as a result won’t look overdone.

    Thanks for the advice mate, no I agree the yellow would be a better choice definitely. I’ll apply now.

    wrote on last edited by

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac I think it’s too much because of the header being the same colour. A blue of they shade will only work if there is something in between it. It’s made much worse as the thread gets longer.

    When the page is scrolled, the title is set to sticky meaning that it’s always visible at the top of the screen. This means the colour is never out of view and is then dominant.

    The yellow is a better choice as it’s not being used anywhere else in the thread and as a result won’t look overdone.

    Thanks for the advice mate, no I agree the yellow would be a better choice definitely. I’ll apply now.

    Applied mate, looks great, thank you very much. Is there a way to change the titles to bold at all?

    Many thanks as always mate. Don’t forget the Phenomlab footer 😁😉.

  • JAC JAC

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac I think it’s too much because of the header being the same colour. A blue of they shade will only work if there is something in between it. It’s made much worse as the thread gets longer.

    When the page is scrolled, the title is set to sticky meaning that it’s always visible at the top of the screen. This means the colour is never out of view and is then dominant.

    The yellow is a better choice as it’s not being used anywhere else in the thread and as a result won’t look overdone.

    Thanks for the advice mate, no I agree the yellow would be a better choice definitely. I’ll apply now.

    Applied mate, looks great, thank you very much. Is there a way to change the titles to bold at all?

    Many thanks as always mate. Don’t forget the Phenomlab footer 😁😉.

    wrote on last edited by

    @jac said in NodeBB customisation:

    Is there a way to change the titles to bold at all?

    Yes - just remove this block

    .topic-title {
        font-weight: 300 !important;
    }
    
  • @jac said in NodeBB customisation:

    Is there a way to change the titles to bold at all?

    Yes - just remove this block

    .topic-title {
        font-weight: 300 !important;
    }
    
    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Is there a way to change the titles to bold at all?

    Yes - just remove this block

    .topic-title {
        font-weight: 300 !important;
    }
    

    Many thanks mate, will try this later 😁.

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Is there a way to change the titles to bold at all?

    Yes - just remove this block

    .topic-title {
        font-weight: 300 !important;
    }
    

    Many thanks mate, will try this later 😁.

    wrote on last edited by

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Is there a way to change the titles to bold at all?

    Yes - just remove this block

    .topic-title {
        font-weight: 300 !important;
    }
    

    Many thanks mate, will try this later 😁.

    Worked great, many thanks 😁👍🏻.

  • JAC JAC

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Is there a way to change the titles to bold at all?

    Yes - just remove this block

    .topic-title {
        font-weight: 300 !important;
    }
    

    Many thanks mate, will try this later 😁.

    Worked great, many thanks 😁👍🏻.

    wrote on last edited by

    @jac Good

  • wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac Good

    Still going with the little changes here and there, so many thanks for the continued support 😁.

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac Good

    Still going with the little changes here and there, so many thanks for the continued support 😁.

    wrote on last edited by

    @jac No problems. I’ll close this thread as soon as we’re done. It currently exists as a showcase for how you’ve modified your NodeBB install to get it to look how you desire. This would then serve as a guide for others looking to go down the same rabbit hole.

  • @jac No problems. I’ll close this thread as soon as we’re done. It currently exists as a showcase for how you’ve modified your NodeBB install to get it to look how you desire. This would then serve as a guide for others looking to go down the same rabbit hole.

    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac No problems. I’ll close this thread as soon as we’re done. It currently exists as a showcase for how you’ve modified your NodeBB install to get it to look how you desire. This would then serve as a guide for others looking to go down the same rabbit hole.

    Great idea!

    Mamy thanks again 😁

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac No problems. I’ll close this thread as soon as we’re done. It currently exists as a showcase for how you’ve modified your NodeBB install to get it to look how you desire. This would then serve as a guide for others looking to go down the same rabbit hole.

    Great idea!

    Mamy thanks again 😁

    wrote on last edited by

    Looking to add a line / divider under eachother comment to seperate them properly, is this possible?

    Many thanks.

  • JAC JAC

    Looking to add a line / divider under eachother comment to seperate them properly, is this possible?

    Many thanks.

    wrote on last edited by

    @jac Something like this ?

    8b5277ff-fee0-45ff-bf97-349e5528511f-image.png

    .topic .posts.timeline .timeline-event:not(:last-child), .topic .posts.timeline>[component=post]:not(:last-child) {
        border-bottom: 1px solid #eeeeee;
    }
    
  • @jac Something like this ?

    8b5277ff-fee0-45ff-bf97-349e5528511f-image.png

    .topic .posts.timeline .timeline-event:not(:last-child), .topic .posts.timeline>[component=post]:not(:last-child) {
        border-bottom: 1px solid #eeeeee;
    }
    
    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac Something like this ?

    8b5277ff-fee0-45ff-bf97-349e5528511f-image.png

    .topic .posts.timeline .timeline-event:not(:last-child), .topic .posts.timeline>[component=post]:not(:last-child) {
        border-bottom: 1px solid #eeeeee;
    }
    

    Thanks Mark, I’ll apply this when I can.

    As for the tags in the screenshot are they generally big or it is the screenshot that is playing tricks? 😉.

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac Something like this ?

    8b5277ff-fee0-45ff-bf97-349e5528511f-image.png

    .topic .posts.timeline .timeline-event:not(:last-child), .topic .posts.timeline>[component=post]:not(:last-child) {
        border-bottom: 1px solid #eeeeee;
    }
    

    Thanks Mark, I’ll apply this when I can.

    As for the tags in the screenshot are they generally big or it is the screenshot that is playing tricks? 😉.

    wrote on last edited by phenomlab

    @jac said in NodeBB customisation:

    are they generally big or it is the screenshot that is playing tricks?

    They’re big. I noticed that. It’s because of the tags page we recently changed to get the Stockport colour layout. Use this to fix it

    .tag-list .tag {
        height: 26px;
        border-radius: 4px;
        margin-left: 5px;
    }
    

Related Topics
  • 2 Votes
    1 Posts
    640 Views
    No one has replied
  • Forum customisation

    Customisation nodebb forum customised
    11
    2
    6 Votes
    11 Posts
    3k Views
    JAC
    Thank you Mark, the changes look fantastic!!
  • NodeBB recent cards customisation

    Solved Customisation nodebb recent cards
    3
    1
    2 Votes
    3 Posts
    1k Views
    JAC
    @phenomlab thank you very much for the assistance Mark, massively appreciated as always. The great thing about this is it’s all documented for other NodeBB users that come looking for solutions . Looks far better .
  • Whitespace fixes in Nodebb

    Solved Customisation nodebb
    18
    2
    7 Votes
    18 Posts
    6k Views
    phenomlab
    @Panda Just circling back here with something of an update (which I think you’ll like). I’ve completely restructured the ranking system. There are now less ranks, with a higher point threshold to reach them. More importantly, if you reload the site, you’ll notice that the ranks are now icons. I also removed the “Author” badge, and made this a single icon, which (to me) looks much better.
  • Changing Background on NodeBB

    Solved Customisation background image nodebb
    4
    0 Votes
    4 Posts
    2k Views
    phenomlab
    @cagatay You’d target the body tag and use the below line of CSS background: url(/assets/customcss/backgrounds/default/default.png) no-repeat center center fixed; Obviously, you need to change the path to suit where your image is being stored. More info around the background property can be found here https://www.w3schools.com/cssref/css3_pr_background.php
  • [NODEBB] Stats

    Unsolved Customisation plugin stats script
    20
    1
    2 Votes
    20 Posts
    6k Views
    JAC
    @phenomlab said in [NODEBB] Stats: @jac or I land up fixing it I wouldn’t put it past you
  • 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
  • How to set a signature in NodeBB?

    Solved Customisation
    4
    2 Votes
    4 Posts
    2k Views
    JAC
    @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: 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 .