Skip to content

NodeBB customisation

Locked Customisation
332 4 274.2k 1
  • JAC JAC

    @phenomlab

    Hi Mark,

    Is there any way to put a borer on these boxes or style them to match the other widgets? So for example like the quote link and hover colour?

    IMG_20220112_195501.jpg

    Many thanks

    wrote on last edited by

    @jac also do you know if the “user reading discussion” plugin will enable to view who’s reading the thread on mobile?

  • wrote on last edited by DownPW

    @jac said in NodeBB customisation:

    @phenomlab
    Hi Mark,
    Is there any way to put a borer on these boxes or style them to match the other widgets? So for example like the quote link and hover colour?

    Many thanks

    @JAC

    Yeah it’s possible

    example here for border color, background, or shadow, transparency, border radius :

    .recent-cards .recent-card-container .recent-card {
        height: 200px;
        width: 100%;
        padding: 10px;
        position: relative;
        border: 1px solid #YOURCOLOR; /*border color*/
        box-shadow: 0px 0px 8px #YOURCOLOR; /*add a border shadow color*/
        background-color: #YOURCOLOR; /*background color*/
        border-radius: 5px; /*Radius*/
        margin-bottom: 10px;
        color: #YOURCOLOR; /* Text color*/
        opacity: 0.8; /*Opacity, trnasparency*/
    }
    

    Other example for categories and time :

    .recent-cards .recent-card-container .recent-card .footer .category-item a,
    .recent-cards .recent-card-container .recent-card .footer .sort-info {
        color: #YOURCOLOR;
        white-space: nowrap;
        text-overflow: ellipsis;
        display: block;
        overflow: hidden;
    }
    

    @jac said in NodeBB customisation:

    @jac also do you know if the “user reading discussion” plugin will enable to view who’s reading the thread on mobile?

    EDIT:

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile (we don’t see who read or talk at real time like on desktop).
    But when a user is on a topic or write a comment, you see him on desktop.

    I think this is normal because there is not enough free space in the header topic on mobile to display the avatars like on desktop

  • @jac said in NodeBB customisation:

    @phenomlab
    Hi Mark,
    Is there any way to put a borer on these boxes or style them to match the other widgets? So for example like the quote link and hover colour?

    Many thanks

    @JAC

    Yeah it’s possible

    example here for border color, background, or shadow, transparency, border radius :

    .recent-cards .recent-card-container .recent-card {
        height: 200px;
        width: 100%;
        padding: 10px;
        position: relative;
        border: 1px solid #YOURCOLOR; /*border color*/
        box-shadow: 0px 0px 8px #YOURCOLOR; /*add a border shadow color*/
        background-color: #YOURCOLOR; /*background color*/
        border-radius: 5px; /*Radius*/
        margin-bottom: 10px;
        color: #YOURCOLOR; /* Text color*/
        opacity: 0.8; /*Opacity, trnasparency*/
    }
    

    Other example for categories and time :

    .recent-cards .recent-card-container .recent-card .footer .category-item a,
    .recent-cards .recent-card-container .recent-card .footer .sort-info {
        color: #YOURCOLOR;
        white-space: nowrap;
        text-overflow: ellipsis;
        display: block;
        overflow: hidden;
    }
    

    @jac said in NodeBB customisation:

    @jac also do you know if the “user reading discussion” plugin will enable to view who’s reading the thread on mobile?

    EDIT:

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile (we don’t see who read or talk at real time like on desktop).
    But when a user is on a topic or write a comment, you see him on desktop.

    I think this is normal because there is not enough free space in the header topic on mobile to display the avatars like on desktop

    wrote on last edited by JAC

    @downpw said in NodeBB customisation:

    @jac said in NodeBB customisation:

    @phenomlab
    

    Hi Mark,
    Is there any way to put a borer on these boxes or style them to match the other widgets? So for example like the quote link and hover colour?

    Many thanks

    @JAC

    Yeah it’s possible

    example here for border color, background, or shadow, transparency, border radius :

    .recent-cards .recent-card-container .recent-card {
        height: 200px;
        width: 100%;
        padding: 10px;
        position: relative;
        border: 1px solid #YOURCOLOR; /*border color*/
        box-shadow: 0px 0px 8px #YOURCOLOR; /*add a border shadow color*/
        background-color: #YOURCOLOR; /*background color*/
        border-radius: 5px; /*Radius*/
        margin-bottom: 10px;
        color: #YOURCOLOR; /* Text color*/
        opacity: 0.8; /*Opacity, trnasparency*/
    }
    

    Other example for categories and time :

    .recent-cards .recent-card-container .recent-card .footer .category-item a,
    .recent-cards .recent-card-container .recent-card .footer .sort-info {
        color: #YOURCOLOR;
        white-space: nowrap;
        text-overflow: ellipsis;
        display: block;
        overflow: hidden;
    }
    

    @jac said in NodeBB customisation:

    @jac also do you know if the “user reading discussion” plugin will enable to view who’s reading the thread on mobile?

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile

    Brilliant thank you very much for the information @DownPW 😁

  • JAC JAC

    @downpw said in NodeBB customisation:

    @jac said in NodeBB customisation:

    @phenomlab
    

    Hi Mark,
    Is there any way to put a borer on these boxes or style them to match the other widgets? So for example like the quote link and hover colour?

    Many thanks

    @JAC

    Yeah it’s possible

    example here for border color, background, or shadow, transparency, border radius :

    .recent-cards .recent-card-container .recent-card {
        height: 200px;
        width: 100%;
        padding: 10px;
        position: relative;
        border: 1px solid #YOURCOLOR; /*border color*/
        box-shadow: 0px 0px 8px #YOURCOLOR; /*add a border shadow color*/
        background-color: #YOURCOLOR; /*background color*/
        border-radius: 5px; /*Radius*/
        margin-bottom: 10px;
        color: #YOURCOLOR; /* Text color*/
        opacity: 0.8; /*Opacity, trnasparency*/
    }
    

    Other example for categories and time :

    .recent-cards .recent-card-container .recent-card .footer .category-item a,
    .recent-cards .recent-card-container .recent-card .footer .sort-info {
        color: #YOURCOLOR;
        white-space: nowrap;
        text-overflow: ellipsis;
        display: block;
        overflow: hidden;
    }
    

    @jac said in NodeBB customisation:

    @jac also do you know if the “user reading discussion” plugin will enable to view who’s reading the thread on mobile?

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile

    Brilliant thank you very much for the information @DownPW 😁

    wrote on last edited by

    @jac said in NodeBB customisation:

    @downpw said in NodeBB customisation:

    @jac said in NodeBB customisation:

    @phenomlab
    

    Hi Mark,
    Is there any way to put a borer on these boxes or style them to match the other widgets? So for example like the quote link and hover colour?

    Many thanks

    @JAC

    Yeah it’s possible

    example here for border color, background, or shadow, transparency, border radius :

    .recent-cards .recent-card-container .recent-card {
        height: 200px;
        width: 100%;
        padding: 10px;
        position: relative;
        border: 1px solid #YOURCOLOR; /*border color*/
        box-shadow: 0px 0px 8px #YOURCOLOR; /*add a border shadow color*/
        background-color: #YOURCOLOR; /*background color*/
        border-radius: 5px; /*Radius*/
        margin-bottom: 10px;
        color: #YOURCOLOR; /* Text color*/
        opacity: 0.8; /*Opacity, trnasparency*/
    }
    

    Other example for categories and time :

    .recent-cards .recent-card-container .recent-card .footer .category-item a,
    .recent-cards .recent-card-container .recent-card .footer .sort-info {
        color: #YOURCOLOR;
        white-space: nowrap;
        text-overflow: ellipsis;
        display: block;
        overflow: hidden;
    }
    

    @jac said in NodeBB customisation:

    @jac also do you know if the “user reading discussion” plugin will enable to view who’s reading the thread on mobile?

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile

    Brilliant thank you very much for the information @DownPW 😁

    How to do this 🤔🤔🤔🤔.

  • wrote on last edited by

    @downpw said in NodeBB customisation:

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile (we don’t see who read or talk at real time like on desktop).

    I think that’s just CSS set to hide on mobile viewport ?

  • JAC JAC

    @jac said in NodeBB customisation:

    @downpw said in NodeBB customisation:

    @jac said in NodeBB customisation:

    @phenomlab
    

    Hi Mark,
    Is there any way to put a borer on these boxes or style them to match the other widgets? So for example like the quote link and hover colour?

    Many thanks

    @JAC

    Yeah it’s possible

    example here for border color, background, or shadow, transparency, border radius :

    .recent-cards .recent-card-container .recent-card {
        height: 200px;
        width: 100%;
        padding: 10px;
        position: relative;
        border: 1px solid #YOURCOLOR; /*border color*/
        box-shadow: 0px 0px 8px #YOURCOLOR; /*add a border shadow color*/
        background-color: #YOURCOLOR; /*background color*/
        border-radius: 5px; /*Radius*/
        margin-bottom: 10px;
        color: #YOURCOLOR; /* Text color*/
        opacity: 0.8; /*Opacity, trnasparency*/
    }
    

    Other example for categories and time :

    .recent-cards .recent-card-container .recent-card .footer .category-item a,
    .recent-cards .recent-card-container .recent-card .footer .sort-info {
        color: #YOURCOLOR;
        white-space: nowrap;
        text-overflow: ellipsis;
        display: block;
        overflow: hidden;
    }
    

    @jac said in NodeBB customisation:

    @jac also do you know if the “user reading discussion” plugin will enable to view who’s reading the thread on mobile?

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile

    Brilliant thank you very much for the information @DownPW 😁

    How to do this 🤔🤔🤔🤔.

    wrote on last edited by

    @jac said in NodeBB customisation:

    How to do this

    You should be able to use the (example) CSS provided by @DownPW

  • @downpw said in NodeBB customisation:

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile (we don’t see who read or talk at real time like on desktop).

    I think that’s just CSS set to hide on mobile viewport ?

    wrote on last edited by DownPW

    @phenomlab said in NodeBB customisation:

    @downpw said in NodeBB customisation:

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile (we don’t see who read or talk at real time like on desktop).

    I think that’s just CSS set to hide on mobile viewport ?

    Yeah maybe 🙂

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    How to do this

    You should be able to use the (example) CSS provided by @DownPW

    @JAC

    Like said @phenomlab, you can use this CSS code on ACP/APPEARANCE/Custom CSS/LESS :

    a493733e-b36a-44d8-a8c5-cd9a2ca64a32-image.png

  • @phenomlab said in NodeBB customisation:

    @downpw said in NodeBB customisation:

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile (we don’t see who read or talk at real time like on desktop).

    I think that’s just CSS set to hide on mobile viewport ?

    Yeah maybe 🙂

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    How to do this

    You should be able to use the (example) CSS provided by @DownPW

    @JAC

    Like said @phenomlab, you can use this CSS code on ACP/APPEARANCE/Custom CSS/LESS :

    a493733e-b36a-44d8-a8c5-cd9a2ca64a32-image.png

    wrote on last edited by

    @downpw said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @downpw said in NodeBB customisation:

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile (we don’t see who read or talk at real time like on desktop).

    I think that’s just CSS set to hide on mobile viewport ?

    Yeah maybe 🙂

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    How to do this

    You should be able to use the (example) CSS provided by @DownPW

    @JAC

    Like said @phenomlab, you can use this CSS code on ACP/APPEARANCE/Custom CSS/LESS :

    a493733e-b36a-44d8-a8c5-cd9a2ca64a32-image.png

    Many thanks to both 😁

  • JAC JAC

    @downpw said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @downpw said in NodeBB customisation:

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile (we don’t see who read or talk at real time like on desktop).

    I think that’s just CSS set to hide on mobile viewport ?

    Yeah maybe 🙂

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    How to do this

    You should be able to use the (example) CSS provided by @DownPW

    @JAC

    Like said @phenomlab, you can use this CSS code on ACP/APPEARANCE/Custom CSS/LESS :

    a493733e-b36a-44d8-a8c5-cd9a2ca64a32-image.png

    Many thanks to both 😁

    wrote on last edited by

    @jac said in NodeBB customisation:

    @downpw said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @downpw said in NodeBB customisation:

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile (we don’t see who read or talk at real time like on desktop).

    I think that’s just CSS set to hide on mobile viewport ?

    Yeah maybe 🙂

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    How to do this

    You should be able to use the (example) CSS provided by @DownPW

    @JAC

    Like said @phenomlab, you can use this CSS code on ACP/APPEARANCE/Custom CSS/LESS :

    a493733e-b36a-44d8-a8c5-cd9a2ca64a32-image.png

    Many thanks to both 😁

    Must try this tomorrow 👍🏻

  • JAC JAC

    @jac said in NodeBB customisation:

    @downpw said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @downpw said in NodeBB customisation:

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile (we don’t see who read or talk at real time like on desktop).

    I think that’s just CSS set to hide on mobile viewport ?

    Yeah maybe 🙂

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    How to do this

    You should be able to use the (example) CSS provided by @DownPW

    @JAC

    Like said @phenomlab, you can use this CSS code on ACP/APPEARANCE/Custom CSS/LESS :

    a493733e-b36a-44d8-a8c5-cd9a2ca64a32-image.png

    Many thanks to both 😁

    Must try this tomorrow 👍🏻

    wrote on last edited by

    @jac said in NodeBB customisation:

    @jac said in NodeBB customisation:

    @downpw said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @downpw said in NodeBB customisation:

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile (we don’t see who read or talk at real time like on desktop).

    I think that’s just CSS set to hide on mobile viewport ?

    Yeah maybe 🙂

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    How to do this

    You should be able to use the (example) CSS provided by @DownPW

    @JAC

    Like said @phenomlab, you can use this CSS code on ACP/APPEARANCE/Custom CSS/LESS :

    a493733e-b36a-44d8-a8c5-cd9a2ca64a32-image.png

    Many thanks to both 😁

    Must try this tomorrow 👍🏻

    Would there be any reason why the colour shows differently in the nav bar and card slider?

    Screenshot 2022-01-14 at 12-18-44 Stockport County FC Fans Forum.png

    Obviously needs a lot of work with the link colours etc.

  • JAC JAC

    @jac said in NodeBB customisation:

    @jac said in NodeBB customisation:

    @downpw said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @downpw said in NodeBB customisation:

    Hmm if you talk about nodebb-plugin-browsing-users, the don’t work on mobile (we don’t see who read or talk at real time like on desktop).

    I think that’s just CSS set to hide on mobile viewport ?

    Yeah maybe 🙂

    @phenomlab said in NodeBB customisation:

    @jac said in NodeBB customisation:

    How to do this

    You should be able to use the (example) CSS provided by @DownPW

    @JAC

    Like said @phenomlab, you can use this CSS code on ACP/APPEARANCE/Custom CSS/LESS :

    a493733e-b36a-44d8-a8c5-cd9a2ca64a32-image.png

    Many thanks to both 😁

    Must try this tomorrow 👍🏻

    Would there be any reason why the colour shows differently in the nav bar and card slider?

    Screenshot 2022-01-14 at 12-18-44 Stockport County FC Fans Forum.png

    Obviously needs a lot of work with the link colours etc.

    wrote on last edited by

    @jac Yes, because they are links that sit inside another DIV, so they will auto inherit from the a href CSS. You can override that with this (as an example - choose the colour you prefer)

    .recent-card-body a {
        color: #ffffff;
    }
    
  • @jac Yes, because they are links that sit inside another DIV, so they will auto inherit from the a href CSS. You can override that with this (as an example - choose the colour you prefer)

    .recent-card-body a {
        color: #ffffff;
    }
    
    wrote on last edited by

    @phenomlab Thanks Mark for the fast response.

    Unfortunately the above change only changes the title colour?

    Screenshot 2022-01-14 at 12-23-57 Stockport County FC Fans Forum.png

  • wrote on last edited by DownPW

    or just

    a {
        color: #YOURCOLOR;
        text-decoration: none;
    }
    

    but this code change other things like title of topic or a hlink for example.

    It all depends on what you want to get but the phenomlab method is better

    For the difference of color you must use the same color code than the navbar

    Here a good link for color code I use: https://htmlcolorcodes.com

  • or just

    a {
        color: #YOURCOLOR;
        text-decoration: none;
    }
    

    but this code change other things like title of topic or a hlink for example.

    It all depends on what you want to get but the phenomlab method is better

    For the difference of color you must use the same color code than the navbar

    Here a good link for color code I use: https://htmlcolorcodes.com

    wrote on last edited by

    @downpw Exactly - this is a bit more specific

    .footer .pull-right span, .recent-cards .recent-card-container .recent-card .footer .category-item a  {
        color: #ffffff !important;
    }
    
  • or just

    a {
        color: #YOURCOLOR;
        text-decoration: none;
    }
    

    but this code change other things like title of topic or a hlink for example.

    It all depends on what you want to get but the phenomlab method is better

    For the difference of color you must use the same color code than the navbar

    Here a good link for color code I use: https://htmlcolorcodes.com

    wrote on last edited by

    @downpw said in NodeBB customisation:

    Here a good link for color code

    One of my favourites along with this beauty
    https://coolors.co/4381c1-bdadea-bea2c2-a37871-4e4b5c

  • @downpw said in NodeBB customisation:

    Here a good link for color code

    One of my favourites along with this beauty
    https://coolors.co/4381c1-bdadea-bea2c2-a37871-4e4b5c

    wrote on last edited by

    @phenomlab

    Oh yeah he looks like very good 😉

  • @phenomlab

    Oh yeah he looks like very good 😉

    wrote on last edited by

    @downpw @phenomlab thanks all.

    if you go to link you’ll see I now have sorted most of it, although I am still unable to match the nav bar colour to the hover cards colour despite this being the same colour hex. Am I doing something wrong? 😛

  • JAC JAC

    @downpw @phenomlab thanks all.

    if you go to link you’ll see I now have sorted most of it, although I am still unable to match the nav bar colour to the hover cards colour despite this being the same colour hex. Am I doing something wrong? 😛

    wrote on last edited by

    @jac When you say navbar are you referring to this ?

    331f52bc-5aff-4d3b-9891-45504ee066e8-image.png

  • @jac When you say navbar are you referring to this ?

    331f52bc-5aff-4d3b-9891-45504ee066e8-image.png

    wrote on last edited by

    @phenomlab Sorry, yes mate 🙂

  • JAC JAC

    @phenomlab Sorry, yes mate 🙂

    wrote on last edited by

    @jac Find this value which is already set in your custom CSS

    .navbar-default {
        background-color: #194F90;
    }
    

    And change background-color to your preference.


Related Topics
  • 2 Votes
    1 Posts
    640 Views
    No one has replied
  • Custom Page - nodebb

    Solved Customisation custom-pages nodebb
    13
    2
    5 Votes
    13 Posts
    3k Views
    DownPW
    I’m happy to see this
  • 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
  • NodeBB Footer

    Solved Customisation footer nodebb
    10
    1 Votes
    10 Posts
    4k Views
    JAC
    @phenomlab said in NodeBB Footer: @jac and you. Hope all is well and you recover quickly Thanks pal
  • 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 Discord Plugins

    Unsolved Customisation nodebb discord plugin
    7
    0 Votes
    7 Posts
    4k Views
    phenomlab
    @RiekMedia hi. Just following up on this thread (I know it’s old) but was curious to understand if it’s still an issue or not ?
  • 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.
  • Customising NodeBB

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