Skip to content

NodeBB customisation

Locked Customisation
332 4 134.4k 1
  • @jac Yes, you’ll get that message if the CSS is incomplete. For example, if you’ve missed a semi colon at the end. Can you paste all of your CSS here for review ?

    @phenomlab said in NodeBB customisation:

    @jac Yes, you’ll get that message if the CSS is incomplete. For example, if you’ve missed a semi colon at the end. Can you paste all of your CSS here for review ?

    Sure,

    blockquote {
        font-size: inherit;
        border-left: 5px solid #eee;
        background: #eeeeee;
        border-radius: 4px;
        margin: 0 auto 40px;
        padding: 15px;
        position: relative;
    }
    blockquote:after {
        border-right: 20px solid transparent;
        border-top: 20px solid #eee;
        bottom: -20px;
        content: "";
        position: absolute;
        left: 20px;
    {
    

    That’s what I’ve used mate.

  • @phenomlab said in NodeBB customisation:

    @jac Yes, you’ll get that message if the CSS is incomplete. For example, if you’ve missed a semi colon at the end. Can you paste all of your CSS here for review ?

    Sure,

    blockquote {
        font-size: inherit;
        border-left: 5px solid #eee;
        background: #eeeeee;
        border-radius: 4px;
        margin: 0 auto 40px;
        padding: 15px;
        position: relative;
    }
    blockquote:after {
        border-right: 20px solid transparent;
        border-top: 20px solid #eee;
        bottom: -20px;
        content: "";
        position: absolute;
        left: 20px;
    {
    

    That’s what I’ve used mate.

    @jac That last block should be

    blockquote:after {
        border-right: 20px solid transparent;
        border-top: 20px solid #eee;
        bottom: -20px;
        content: "";
        position: absolute;
        left: 20px;
    }
    

    The curly brace should be the other way round.

  • @jac That last block should be

    blockquote:after {
        border-right: 20px solid transparent;
        border-top: 20px solid #eee;
        bottom: -20px;
        content: "";
        position: absolute;
        left: 20px;
    }
    

    The curly brace should be the other way round.

    @phenomlab said in NodeBB customisation:

    @jac That last block should be

    blockquote:after {
        border-right: 20px solid transparent;
        border-top: 20px solid #eee;
        bottom: -20px;
        content: "";
        position: absolute;
        left: 20px;
    }
    

    The curly brace should be the other way round.

    Thanks very much Mark! That has fixed the issue!

    Is there any way to change the font on the quote to white with a blue background at all?

    Many thanks as always for the free help and advice!

  • @phenomlab said in NodeBB customisation:

    @jac That last block should be

    blockquote:after {
        border-right: 20px solid transparent;
        border-top: 20px solid #eee;
        bottom: -20px;
        content: "";
        position: absolute;
        left: 20px;
    }
    

    The curly brace should be the other way round.

    Thanks very much Mark! That has fixed the issue!

    Is there any way to change the font on the quote to white with a blue background at all?

    Many thanks as always for the free help and advice!

    @jac Not sure which type of blue you want, but you could do it with this

    .topic .posts .content blockquote {
        font-size: 12px;
        color: #ffffff;
    }
    
    blockquote {
        font-size: inherit;
        border-left: 5px solid #194F90;
        background: #194F90;
        border-radius: 4px;
        margin: 0 auto 40px;
        padding: 15px;
        position: relative;
    }
    blockquote:after {
        border-right: 20px solid transparent;
        border-top: 20px solid #194F90;
        bottom: -20px;
        content: "";
        position: absolute;
        left: 20px;
    }
    

    Essentially, you’d be modifying the previous block I provided, and forcing white on .topic .posts .content blockquote

    Essentially, you’ll land up with this

    560c90ce-fec9-4896-ae5e-aecb12843aef-image.png

    Hope this helps.

  • @jac Not sure which type of blue you want, but you could do it with this

    .topic .posts .content blockquote {
        font-size: 12px;
        color: #ffffff;
    }
    
    blockquote {
        font-size: inherit;
        border-left: 5px solid #194F90;
        background: #194F90;
        border-radius: 4px;
        margin: 0 auto 40px;
        padding: 15px;
        position: relative;
    }
    blockquote:after {
        border-right: 20px solid transparent;
        border-top: 20px solid #194F90;
        bottom: -20px;
        content: "";
        position: absolute;
        left: 20px;
    }
    

    Essentially, you’d be modifying the previous block I provided, and forcing white on .topic .posts .content blockquote

    Essentially, you’ll land up with this

    560c90ce-fec9-4896-ae5e-aecb12843aef-image.png

    Hope this helps.

    @phenomlab said in NodeBB customisation:

    @jac Not sure which type of blue you want, but you could do it with this

    .topic .posts .content blockquote {
        font-size: 12px;
        color: #ffffff;
    }
    
    blockquote {
        font-size: inherit;
        border-left: 5px solid #194F90;
        background: #194F90;
        border-radius: 4px;
        margin: 0 auto 40px;
        padding: 15px;
        position: relative;
    }
    blockquote:after {
        border-right: 20px solid transparent;
        border-top: 20px solid #194F90;
        bottom: -20px;
        content: "";
        position: absolute;
        left: 20px;
    }
    

    Essentially, you’d be modifying the previous block I provided, and forcing white on .topic .posts .content blockquote

    Essentially, you’ll land up with this

    560c90ce-fec9-4896-ae5e-aecb12843aef-image.png

    Hope this helps.

    Thanks mate, is that just on quotes?

  • @phenomlab said in NodeBB customisation:

    @jac Not sure which type of blue you want, but you could do it with this

    .topic .posts .content blockquote {
        font-size: 12px;
        color: #ffffff;
    }
    
    blockquote {
        font-size: inherit;
        border-left: 5px solid #194F90;
        background: #194F90;
        border-radius: 4px;
        margin: 0 auto 40px;
        padding: 15px;
        position: relative;
    }
    blockquote:after {
        border-right: 20px solid transparent;
        border-top: 20px solid #194F90;
        bottom: -20px;
        content: "";
        position: absolute;
        left: 20px;
    }
    

    Essentially, you’d be modifying the previous block I provided, and forcing white on .topic .posts .content blockquote

    Essentially, you’ll land up with this

    560c90ce-fec9-4896-ae5e-aecb12843aef-image.png

    Hope this helps.

    Thanks mate, is that just on quotes?

    @jac yes

  • @phenomlab said in NodeBB customisation:

    @jac Not sure which type of blue you want, but you could do it with this

    .topic .posts .content blockquote {
        font-size: 12px;
        color: #ffffff;
    }
    
    blockquote {
        font-size: inherit;
        border-left: 5px solid #194F90;
        background: #194F90;
        border-radius: 4px;
        margin: 0 auto 40px;
        padding: 15px;
        position: relative;
    }
    blockquote:after {
        border-right: 20px solid transparent;
        border-top: 20px solid #194F90;
        bottom: -20px;
        content: "";
        position: absolute;
        left: 20px;
    }
    

    Essentially, you’d be modifying the previous block I provided, and forcing white on .topic .posts .content blockquote

    Essentially, you’ll land up with this

    560c90ce-fec9-4896-ae5e-aecb12843aef-image.png

    Hope this helps.

    Thanks mate, is that just on quotes?

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac Not sure which type of blue you want, but you could do it with this

    .topic .posts .content blockquote {
        font-size: 12px;
        color: #ffffff;
    }
    
    blockquote {
        font-size: inherit;
        border-left: 5px solid #194F90;
        background: #194F90;
        border-radius: 4px;
        margin: 0 auto 40px;
        padding: 15px;
        position: relative;
    }
    blockquote:after {
        border-right: 20px solid transparent;
        border-top: 20px solid #194F90;
        bottom: -20px;
        content: "";
        position: absolute;
        left: 20px;
    }
    

    Essentially, you’d be modifying the previous block I provided, and forcing white on .topic .posts .content blockquote

    Essentially, you’ll land up with this

    560c90ce-fec9-4896-ae5e-aecb12843aef-image.png

    Hope this helps.

    Thanks mate, is that just on quotes?

    I like the look of that, either that or a yellow.

    Would you be able to share the code for that at all Mark? 😁.

  • @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac Not sure which type of blue you want, but you could do it with this

    .topic .posts .content blockquote {
        font-size: 12px;
        color: #ffffff;
    }
    
    blockquote {
        font-size: inherit;
        border-left: 5px solid #194F90;
        background: #194F90;
        border-radius: 4px;
        margin: 0 auto 40px;
        padding: 15px;
        position: relative;
    }
    blockquote:after {
        border-right: 20px solid transparent;
        border-top: 20px solid #194F90;
        bottom: -20px;
        content: "";
        position: absolute;
        left: 20px;
    }
    

    Essentially, you’d be modifying the previous block I provided, and forcing white on .topic .posts .content blockquote

    Essentially, you’ll land up with this

    560c90ce-fec9-4896-ae5e-aecb12843aef-image.png

    Hope this helps.

    Thanks mate, is that just on quotes?

    I like the look of that, either that or a yellow.

    Would you be able to share the code for that at all Mark? 😁.

    @jac It’s in the above post 😉

  • @jac It’s in the above post 😉

    @phenomlab said in NodeBB customisation:

    @jac It’s in the above post 😉

    Apologies! 😁

    Worked a treat! Many thanks again 👍🏻.

    Am ok to keep posting little tweaks that I am looking to change?

  • @phenomlab said in NodeBB customisation:

    @jac It’s in the above post 😉

    Apologies! 😁

    Worked a treat! Many thanks again 👍🏻.

    Am ok to keep posting little tweaks that I am looking to change?

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac It’s in the above post 😉

    Apologies! 😁

    Worked a treat! Many thanks again 👍🏻.

    Am ok to keep posting little tweaks that I am looking to change?

    Looking to change the font & number of read posts.

    IMG_20210927_212333.jpg

    Looking to change this to blue white a white font and then as the posts are read it changes to yellow?

    Is this something that is possible? I seem to remember it working out well on the last installation.

    Many thanks.

  • @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac It’s in the above post 😉

    Apologies! 😁

    Worked a treat! Many thanks again 👍🏻.

    Am ok to keep posting little tweaks that I am looking to change?

    Looking to change the font & number of read posts.

    IMG_20210927_212333.jpg

    Looking to change this to blue white a white font and then as the posts are read it changes to yellow?

    Is this something that is possible? I seem to remember it working out well on the last installation.

    Many thanks.

    https://fonts.google.com/specimen/Alfa+Slab+One

    Maybe something like that for the titles?

    Thanks as always.

  • @phenomlab said in NodeBB customisation:

    @jac It’s in the above post 😉

    Apologies! 😁

    Worked a treat! Many thanks again 👍🏻.

    Am ok to keep posting little tweaks that I am looking to change?

    @jac said in NodeBB customisation:

    Am ok to keep posting little tweaks that I am looking to change?

    Yes, that’s fine

  • @jac said in NodeBB customisation:

    Am ok to keep posting little tweaks that I am looking to change?

    Yes, that’s fine

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Am ok to keep posting little tweaks that I am looking to change?

    Yes, that’s fine

    Many thanks mate 👍🏻

  • https://fonts.google.com/specimen/Alfa+Slab+One

    Maybe something like that for the titles?

    Thanks as always.

    @jac Do you have anything in mind for the body font ? I recall last time we used Poppins (which happens to be the fine used here)

  • @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac It’s in the above post 😉

    Apologies! 😁

    Worked a treat! Many thanks again 👍🏻.

    Am ok to keep posting little tweaks that I am looking to change?

    Looking to change the font & number of read posts.

    IMG_20210927_212333.jpg

    Looking to change this to blue white a white font and then as the posts are read it changes to yellow?

    Is this something that is possible? I seem to remember it working out well on the last installation.

    Many thanks.

    @jac said in NodeBB customisation:

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac It’s in the above post 😉

    Apologies! 😁

    Worked a treat! Many thanks again 👍🏻.

    Am ok to keep posting little tweaks that I am looking to change?

    Looking to change the font & number of read posts.

    IMG_20210927_212333.jpg

    Looking to change this to blue white a white font and then as the posts are read it changes to yellow?

    Is this something that is possible? I seem to remember it working out well on the last installation.

    Many thanks.

    I’ve actually found a screenshot of how grtit looked last time. The font etc and the bottom bar looked great!
    IMG_20210512_092944.jpg

  • @jac said in NodeBB customisation:

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac It’s in the above post 😉

    Apologies! 😁

    Worked a treat! Many thanks again 👍🏻.

    Am ok to keep posting little tweaks that I am looking to change?

    Looking to change the font & number of read posts.

    IMG_20210927_212333.jpg

    Looking to change this to blue white a white font and then as the posts are read it changes to yellow?

    Is this something that is possible? I seem to remember it working out well on the last installation.

    Many thanks.

    I’ve actually found a screenshot of how grtit looked last time. The font etc and the bottom bar looked great!
    IMG_20210512_092944.jpg

    @jac said in NodeBB customisation:

    @jac said in NodeBB customisation:

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac It’s in the above post 😉

    Apologies! 😁

    Worked a treat! Many thanks again 👍🏻.

    Am ok to keep posting little tweaks that I am looking to change?

    Looking to change the font & number of read posts.

    IMG_20210927_212333.jpg

    Looking to change this to blue white a white font and then as the posts are read it changes to yellow?

    Is this something that is possible? I seem to remember it working out well on the last installation.

    Many thanks.

    I’ve actually found a screenshot of how grtit looked last time. The font etc and the bottom bar looked great!
    IMG_20210512_092944.jpg

    Although the bottom colour is a little dark for County still looked great 😉

  • @jac Do you have anything in mind for the body font ? I recall last time we used Poppins (which happens to be the fine used here)

    @phenomlab said in NodeBB customisation:

    @jac Do you have anything in mind for the body font ? I recall last time we used Poppins (which happens to be the fine used here)

    I’ll have to have a look, I remember yes. Looks great, although I’m mindful of copying.

  • @phenomlab said in NodeBB customisation:

    @jac Do you have anything in mind for the body font ? I recall last time we used Poppins (which happens to be the fine used here)

    I’ll have to have a look, I remember yes. Looks great, although I’m mindful of copying.

    @jac No issues. It’s really just a font 🤷♂
    Thanks for providing the screenshots. This is useful. I’ll get to this ASAP.

  • @jac No issues. It’s really just a font 🤷♂
    Thanks for providing the screenshots. This is useful. I’ll get to this ASAP.

    @phenomlab said in NodeBB customisation:

    @jac No issues. It’s really just a font 🤷♂
    Thanks for providing the screenshots. This is useful. I’ll get to this ASAP.

    Many thanks Mark,

    As previously discussed I know you don’t want things copying although the reason I ask for the changes to be replicated as they are great ideas and improve the design etc.

  • @jac No issues. It’s really just a font 🤷♂
    Thanks for providing the screenshots. This is useful. I’ll get to this ASAP.

    @phenomlab said in NodeBB customisation:

    Thanks for providing the screenshots. This is useful.

    Not a problem 😁


Related Topics
  • Whitespace fixes in Nodebb

    Solved Customisation nodebb
    18
    2
    7 Votes
    18 Posts
    3k Views
    @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.
  • who is read NodeBB

    Customisation read post nodebb
    6
    0 Votes
    6 Posts
    1k Views
    @cagatay You should ask in the NodeBB forums. Perhaps reference this post https://discuss.flarum.org/d/23066-who-read
  • [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] 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
  • 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 .
  • 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