Skip to content

NodeBB customisation

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

    @jac Standard line ? Not sure I follow

    Apologies I should have explained better.

    The image shows a grey line to the left which is the quote, is that right?

    What I’m thinking of is how on earth you managed to change it from how it is to what you have now which looks 100000% more professional 😉😆.

    IMG_20210926_102256.jpg

    @jac yes, I understand now. You can replicate what I have here with the below CSS

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

    Be warned though that this is relatively advanced and any other changes to the blockquote class will impact this.

  • @jac yes, I understand now. You can replicate what I have here with the below CSS

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

    Be warned though that this is relatively advanced and any other changes to the blockquote class will impact this.

    @phenomlab said in NodeBB customisation:

    @jac yes, I understand now. You can replicate what I have here with the below CSS

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

    Be warned though that this is relatively advanced and any other changes to the blockquote class will impact this.

    Many thanks mate,

    I’ll try this when on the laptop.

  • @phenomlab said in NodeBB customisation:

    @jac yes, I understand now. You can replicate what I have here with the below CSS

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

    Be warned though that this is relatively advanced and any other changes to the blockquote class will impact this.

    Many thanks mate,

    I’ll try this when on the laptop.

    Would there be a way to make the background blue and the font white on the quote at all?.

  • Would there be a way to make the background blue and the font white on the quote at all?.

    @jac said in NodeBB customisation:

    Would there be a way to make the background blue and the font white on the quote at all?.

    Encountered issue at first hurdle…hmm.

    IMG_20210926_195951.jpg

  • @jac said in NodeBB customisation:

    Would there be a way to make the background blue and the font white on the quote at all?.

    Encountered issue at first hurdle…hmm.

    IMG_20210926_195951.jpg

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

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


Related Topics
  • Custom Page - nodebb

    Solved Customisation custom-pages nodebb
    13
    2
    5 Votes
    13 Posts
    151 Views
    I’m happy to see this
  • Forum customisation

    Customisation nodebb forum customised
    11
    2
    6 Votes
    11 Posts
    1k Views
    Thank you Mark, the changes look fantastic!!
  • 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 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
  • Social icon (Nodebb)

    Solved Customisation nodebb social
    7
    0 Votes
    7 Posts
    2k Views
    @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: 1638880098289-73e805e1-997b-41bf-9259-51c5052ca8fc-image.png] fixed
  • NodeBB Design help

    Solved Customisation
    8
    3
    2 Votes
    8 Posts
    2k 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.
  • 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.