Skip to content

NodeBB customisation

Locked Customisation
332 4 134.4k 1
  • @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 ;).

    @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.

    @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 😁

  • @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 😁

    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

  • 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 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

    @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!!!

    ,😁😁😁

  • @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!!!

    ,😁😁😁

    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 😁

  • 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 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.

    @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.

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

    @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 😁.

  • @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 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 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 Good

  • @phenomlab said in NodeBB customisation:

    @jac Good

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

  • @phenomlab said in NodeBB customisation:

    @jac Good

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

    @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.

    @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 😁

  • @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 😁

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

    Many thanks.

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

    Many thanks.

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

    @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? 😉.

  • @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 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
  • NodeBB recent cards customisation

    Solved Customisation nodebb recent cards
    3
    1
    2 Votes
    3 Posts
    713 Views
    @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 .
  • Changing Background on NodeBB

    Solved Customisation background image nodebb
    4
    0 Votes
    4 Posts
    1k Views
    @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 inline videoplayer

    Solved Customisation nodebb
    12
    3 Votes
    12 Posts
    2k Views
    @phenomlab YAY! It works Thanks so much
  • [NodeBB] greeting message

    Solved Customisation css nodebb javascript
    2
    1
    3 Votes
    2 Posts
    1k Views
    @pwsincd welcome to sudonix, and thanks for the comments. What your looking for is here https://sudonix.com/topic/195/nodebb-welcome-message/3?_=1648295651358
  • [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
  • 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.
  • Customising NodeBB

    Locked Customisation nodebb
    3
    0 Votes
    3 Posts
    2k Views
    Closing this thread as a duplicate of https://sudonix.com/topic/12/nodebb-customisation