Omitir al contenido

NodeBB customisation

Cerrado Customisation
332 4 137.2k 1
  • @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac I think my only concern here is the size and placement. If it’s too crammed, that detracts from the user experience and removes the focus away from the actual content.

    Of course yes, I’ll probably just leave it how it is and make other changes such as font etc.

    Hi Mark,

    I thought if I made changes bit by bit that may be better…

    How can I get the quotes background in blue with a nice font on? That stands out.

    Many thanks.

    @jac Like the above (the one used here) ?

  • @jac Like the above (the one used here) ?

    @phenomlab said in NodeBB customisation:

    @jac Like the above (the one used here) ?

    Something like that if it’s possible yes without copying and upsetting the designer 😉, as in don’t give me the code if you’re not happy to 😆.

    Many thanks.

  • @phenomlab said in NodeBB customisation:

    @jac Like the above (the one used here) ?

    Something like that if it’s possible yes without copying and upsetting the designer 😉, as in don’t give me the code if you’re not happy to 😆.

    Many thanks.

    @jac I’ve no issues at all with this.

  • @jac I’ve no issues at all with this.

    @phenomlab said in NodeBB customisation:

    @jac I’ve no issues at all with this.

    Many thanks as always for this.

    Of course the reason I asked was as discussed in our previous chats I didn’t want to copy what you have done although 100% loving your ideas / work. 👍🏻

  • @phenomlab said in NodeBB customisation:

    @jac I’ve no issues at all with this.

    Many thanks as always for this.

    Of course the reason I asked was as discussed in our previous chats I didn’t want to copy what you have done although 100% loving your ideas / work. 👍🏻

    @jac all the work in terms of design and layout is open source, so you can take what you want without needing to ask. The only point where I draw the line is where your site becomes a direct replica in terms of appearance to this one.

  • @jac all the work in terms of design and layout is open source, so you can take what you want without needing to ask. The only point where I draw the line is where your site becomes a direct replica in terms of appearance to this one.

    @phenomlab said in NodeBB customisation:

    @jac all the work in terms of design and layout is open source, so you can take what you want without needing to ask. The only point where I draw the line is where your site becomes a direct replica in terms of appearance to this one.

    Absolutely mate, I wouldn’t do that 😁.

  • @phenomlab said in NodeBB customisation:

    @jac all the work in terms of design and layout is open source, so you can take what you want without needing to ask. The only point where I draw the line is where your site becomes a direct replica in terms of appearance to this one.

    Absolutely mate, I wouldn’t do that 😁.

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac all the work in terms of design and layout is open source, so you can take what you want without needing to ask. The only point where I draw the line is where your site becomes a direct replica in terms of appearance to this one.

    Absolutely mate, I wouldn’t do that 😁.

    Certainly interesting how the standard quote image is pretty much a line, it’s well changed and I’d have no clue how you managed to achieve it 😉.

  • @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac all the work in terms of design and layout is open source, so you can take what you want without needing to ask. The only point where I draw the line is where your site becomes a direct replica in terms of appearance to this one.

    Absolutely mate, I wouldn’t do that 😁.

    Certainly interesting how the standard quote image is pretty much a line, it’s well changed and I’d have no clue how you managed to achieve it 😉.

    @jac Standard line ? Not sure I follow

  • @jac Standard line ? Not sure I follow

    @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

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


Related Topics
  • Forum customisation

    Customisation nodebb forum customised
    11
    2
    6 Votos
    11 Mensajes
    1k Visitas
    Thank you Mark, the changes look fantastic!!
  • NodeBB recent cards customisation

    Solved Customisation nodebb recent cards
    3
    1
    2 Votos
    3 Mensajes
    750 Visitas
    @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 Votos
    18 Mensajes
    3k Visitas
    @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 Votos
    6 Mensajes
    1k Visitas
    @cagatay You should ask in the NodeBB forums. Perhaps reference this post https://discuss.flarum.org/d/23066-who-read
  • [NODEBB] Scroll Button

    Solved Customisation css javascript html scroll button
    7
    1
    0 Votos
    7 Mensajes
    2k Visitas
    @downpw ooops. Forgot that. Thanks for adding.
  • [NODEBB] Welcome Message

    Solved Customisation css html nodebb
    20
    2
    13 Votos
    20 Mensajes
    6k Visitas
    @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.
  • Social icon (Nodebb)

    Solved Customisation nodebb social
    7
    0 Votos
    7 Mensajes
    2k Visitas
    @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
  • Forum customisation

    Customisation forum customise
    17
    3 Votos
    17 Mensajes
    3k Visitas
    @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.