Skip to content

NodeBB customisation

Locked Customisation
332 4 274.3k 1
  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    look a bit more professional and cleaner

    Had another go at this. The best I’ve come up with is

    .recent-cards .recent-card-container .recent-card .recent-card-body {
        height: 143px;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 200px;
        max-width: 200px;
        line-height: 1.2;
        white-space: nowrap;
    }
    

    Which looks like the below

    3a53b0e8-0e22-4790-8428-f70ecdcdf403-image.png

    Thanks mate for all the efforts. I’ll leave it how it is for now and wait and see if it can be fixed sometime. Thank you for the efforts mate 😁.

    wrote on last edited by

    Going to implement all of the above now…

    As for the footer widget I can’t remove the NodeBB text as I’m not on the laptop you, I’m happy to include phenomlab on there for all your efforts and continued help?

    Maybe something live Version 1 in the footer and then when a significant change is made the version number can be updated.

  • JAC JAC

    Going to implement all of the above now…

    As for the footer widget I can’t remove the NodeBB text as I’m not on the laptop you, I’m happy to include phenomlab on there for all your efforts and continued help?

    Maybe something live Version 1 in the footer and then when a significant change is made the version number can be updated.

    wrote on last edited by

    @jac said in NodeBB customisation:

    As for the footer widget I can’t remove the NodeBB text as I’m not on the laptop you, I’m happy to include phenomlab on there for all your efforts and continued help?

    Done 🙂

  • @jac said in NodeBB customisation:

    Itz probably a longshot anyway, but is there any way to change the link colour on the quotes to yellow?

    Like this ?

    5883be0c-e2f0-4677-a4ac-58a1ba86cee7-image.png

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557;
    }
    
    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Itz probably a longshot anyway, but is there any way to change the link colour on the quotes to yellow?

    Like this ?

    5883be0c-e2f0-4677-a4ac-58a1ba86cee7-image.png

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557;
    }
    

    For some reason this didn’t appear to work, would this change make any URLs in a quote yellow too?

    Many thanks.

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Itz probably a longshot anyway, but is there any way to change the link colour on the quotes to yellow?

    Like this ?

    5883be0c-e2f0-4677-a4ac-58a1ba86cee7-image.png

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557;
    }
    

    For some reason this didn’t appear to work, would this change make any URLs in a quote yellow too?

    Many thanks.

    wrote on last edited by

    @jac No - that just targets the mention name.

  • @jac No - that just targets the mention name.

    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac No - that just targets the mention name.

    For some reason it hasn’t worked mate?

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Many thanks as always!

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac No - that just targets the mention name.

    For some reason it hasn’t worked mate?

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Many thanks as always!

    wrote on last edited by

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac No - that just targets the mention name.

    For some reason it hasn’t worked mate?

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Many thanks as always!

    I think it’s because the mentions colour is set to white, I’ll find the other colour and change it.

  • JAC JAC

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac No - that just targets the mention name.

    For some reason it hasn’t worked mate?

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Many thanks as always!

    I think it’s because the mentions colour is set to white, I’ll find the other colour and change it.

    wrote on last edited by

    @jac said in NodeBB customisation:

    I think it’s because the mentions colour is set to white, I’ll find the other colour and change it.

    Use this

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557 !important;
    }
    
  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac No - that just targets the mention name.

    For some reason it hasn’t worked mate?

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Many thanks as always!

    wrote on last edited by

    @jac said in NodeBB customisation:

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Can you send me a URL where this is an issue to save me trawling through your forum ? 🙂

  • @jac said in NodeBB customisation:

    I think it’s because the mentions colour is set to white, I’ll find the other colour and change it.

    Use this

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557 !important;
    }
    
    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    I think it’s because the mentions colour is set to white, I’ll find the other colour and change it.

    Use this

    blockquote .plugin-mentions-user.plugin-mentions-a {
        color: #ffc557 !important;
    }
    

    Fantastic mate, that’s sorted it 😁😁

  • @jac said in NodeBB customisation:

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Can you send me a URL where this is an issue to save me trawling through your forum ? 🙂

    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Can you send me a URL where this is an issue to save me trawling through your forum ? 🙂

    Sure… here

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Can you send me a URL where this is an issue to save me trawling through your forum ? 🙂

    Sure… here

    wrote on last edited by

    It’s probably my fault as I’ve chosen a background colour that natively clashes, would you prefer me to change the quote colour instead?

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    Would there be a way to change the URL colour in quote to stand out or is that too difficult?

    Can you send me a URL where this is an issue to save me trawling through your forum ? 🙂

    Sure… here

    wrote on last edited by

    @jac Use this

    blockquote a {
        color: #ffc557;
    }
    

    You’ll need a hover class as well otherwise the text will disappear when hovered over - use this

    blockquote a:hover {
        color: #db9716;
    }
    
  • @jac Use this

    blockquote a {
        color: #ffc557;
    }
    

    You’ll need a hover class as well otherwise the text will disappear when hovered over - use this

    blockquote a:hover {
        color: #db9716;
    }
    
    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac Use this

    blockquote a {
        color: #ffc557;
    }
    

    You’ll need a hover class as well otherwise the text will disappear when hovered over - use this

    blockquote a:hover {
        color: #db9716;
    }
    

    Worked a treat mate, thank you very much as always, a massive help! 😁😁

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac Use this

    blockquote a {
        color: #ffc557;
    }
    

    You’ll need a hover class as well otherwise the text will disappear when hovered over - use this

    blockquote a:hover {
        color: #db9716;
    }
    

    Worked a treat mate, thank you very much as always, a massive help! 😁😁

    wrote on last edited by

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac Use this

    blockquote a {
        color: #ffc557;
    }
    

    You’ll need a hover class as well otherwise the text will disappear when hovered over - use this

    blockquote a:hover {
        color: #db9716;
    }
    

    Worked a treat mate, thank you very much as always, a massive help! 😁😁

    I think all the changes may have affected this.

    Is there any way to replicate colours on the tags page for the widget?

    Sorry to be a pain… 🚕

  • JAC JAC

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac Use this

    blockquote a {
        color: #ffc557;
    }
    

    You’ll need a hover class as well otherwise the text will disappear when hovered over - use this

    blockquote a:hover {
        color: #db9716;
    }
    

    Worked a treat mate, thank you very much as always, a massive help! 😁😁

    I think all the changes may have affected this.

    Is there any way to replicate colours on the tags page for the widget?

    Sorry to be a pain… 🚕

    wrote on last edited by

    @jac Can you provide a screenshot ? Sorry. Not entirely sure I understand.

  • @jac Can you provide a screenshot ? Sorry. Not entirely sure I understand.

    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac Can you provide a screenshot ? Sorry. Not entirely sure I understand.

    IMG_20211008_211530.jpg

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac Can you provide a screenshot ? Sorry. Not entirely sure I understand.

    IMG_20211008_211530.jpg

    wrote on last edited by

    @jac did you add any additional CSS other than what I provided ? I’m surprised this is impacted as the classes are completely different.

  • @jac did you add any additional CSS other than what I provided ? I’m surprised this is impacted as the classes are completely different.

    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac did you add any additional CSS other than what I provided ? I’m surprised this is impacted as the classes are completely different.

    No mate I didn’t.

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac did you add any additional CSS other than what I provided ? I’m surprised this is impacted as the classes are completely different.

    No mate I didn’t.

    wrote on last edited by

    @jac I see why. Fixed

    9031d733-2b3c-4a66-ab80-ee9161f81c97-image.png

    I’ve changed the CSS on your site already, so nothing for you to do 🙂

  • @jac I see why. Fixed

    9031d733-2b3c-4a66-ab80-ee9161f81c97-image.png

    I’ve changed the CSS on your site already, so nothing for you to do 🙂

    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac I see why. Fixed

    9031d733-2b3c-4a66-ab80-ee9161f81c97-image.png

    I’ve changed the CSS on your site already, so nothing for you to do 🙂

    Amazing mate, thank you so much for doing this!!


Related Topics
  • 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 .
  • nodebb-user-level customisation : popover element

    Solved Customisation css user level plugin custom
    15
    6 Votes
    15 Posts
    5k Views
    DownPW
    No no, I said that in the sense that he told me it was simple ^^ I was able to see that this was not the case by targeting the elements he had advised me.
  • who is read NodeBB

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

    Solved Customisation nodebb
    8
    5 Votes
    8 Posts
    3k Views
    Sampo2910
    @phenomlab Aha…nice to know. As always thank you for the reply and information.
  • 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
  • NodeBB Design help

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