Skip to content

NodeBB customisation

Locked Customisation
332 4 274.2k 1
  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac yes, they can. Here’s an example of how that would work

    https://www.w3docs.com/snippets/css/how-to-import-google-fonts-in-css-file.html

    Thanks mate, will check this out over the weekend 😁.

    wrote on last edited by JAC

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac yes, they can. Here’s an example of how that would work

    https://www.w3docs.com/snippets/css/how-to-import-google-fonts-in-css-file.html

    Thanks mate, will check this out over the weekend 😁.

    👀 how would this work if I just wanted to change the title font?

  • JAC JAC

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    @jac yes, they can. Here’s an example of how that would work

    https://www.w3docs.com/snippets/css/how-to-import-google-fonts-in-css-file.html

    Thanks mate, will check this out over the weekend 😁.

    👀 how would this work if I just wanted to change the title font?

    wrote on last edited by

    @jac You’d need to target the element you want, and change the font being called - an example

    h1.title {
    font-family: "mygooglefont";
    }
  • @jac You’d need to target the element you want, and change the font being called - an example

    h1.title {
    font-family: "mygooglefont";
    }
    wrote on last edited by

    @phenomlab Thank you, I’ll take a look 🙂

  • JAC JAC

    @phenomlab Thank you, I’ll take a look 🙂

    wrote on last edited by

    @phenomlab without taking every idea from yourself…

    The banner effect that you have in place was it easy to do?

    This is something I wanted to do originally with photos, but the general look and feel of the wide banner effect with the font on does look really impressive.

    I’m wondering if it would look any better than what I currently have?

    Screenshot 2022-01-18 at 14-55-50 Clint Hill to join Challinor at County .png ❔

  • JAC JAC

    @phenomlab without taking every idea from yourself…

    The banner effect that you have in place was it easy to do?

    This is something I wanted to do originally with photos, but the general look and feel of the wide banner effect with the font on does look really impressive.

    I’m wondering if it would look any better than what I currently have?

    Screenshot 2022-01-18 at 14-55-50 Clint Hill to join Challinor at County .png ❔

    wrote on last edited by

    @jac Do you mean this part ?

    fe393aeb-220d-45aa-b442-07968030ca15-image.png

  • @jac Do you mean this part ?

    fe393aeb-220d-45aa-b442-07968030ca15-image.png

    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac Do you mean this part ?

    fe393aeb-220d-45aa-b442-07968030ca15-image.png

    Yes mate 👍

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac Do you mean this part ?

    fe393aeb-220d-45aa-b442-07968030ca15-image.png

    Yes mate 👍

    wrote on last edited by

    @jac Easily done, but it’s not entirely “simple” ⚠

    This is the CSS that handles that

    .Hero {
        background: #8A8C8E;
        position: sticky;
        left: 0;
        right: 0;
        margin-left: -50vw;
        margin-right: -50vw;
        width: 100vw;
        z-index: 500;
        padding-top: 10px;
        margin-top: -20px;
        margin-bottom: 30px;
        height: 70px;
        color: #ffffff;
    }
    ul.PageHero-items li {
        list-style: none;
        text-align: center;
    }
    .PageHero-title {
        vertical-align: middle;
        font-size: 3rem!important;
        color: #ffffff;
        font-family: Poppins;
        display: inline-block;
        margin-left: 15px;
        max-width: 800px;
    }
    h2.PageHero-title::after {
        display: flex;
        margin: -10px 0 0!important;
        font-size: 2rem;
        font-weight: 300;
        -webkit-background-clip: text!important;
        -webkit-text-fill-color: transparent;
        background: -webkit-linear-gradient(#fff,#aaa);
        line-height: 2.0;
        font-family: poppins;
    }
    

    You’ll then need a global widget with this code

    <header class="Hero PageHero">
    <div class="container">
    <ul class="PageHero-items">
    <li class="item-title">
    <h2 class="PageHero-title">{title}</h2>
    </li>
    </ul>
    </div>
    </header>
    
  • @jac Easily done, but it’s not entirely “simple” ⚠

    This is the CSS that handles that

    .Hero {
        background: #8A8C8E;
        position: sticky;
        left: 0;
        right: 0;
        margin-left: -50vw;
        margin-right: -50vw;
        width: 100vw;
        z-index: 500;
        padding-top: 10px;
        margin-top: -20px;
        margin-bottom: 30px;
        height: 70px;
        color: #ffffff;
    }
    ul.PageHero-items li {
        list-style: none;
        text-align: center;
    }
    .PageHero-title {
        vertical-align: middle;
        font-size: 3rem!important;
        color: #ffffff;
        font-family: Poppins;
        display: inline-block;
        margin-left: 15px;
        max-width: 800px;
    }
    h2.PageHero-title::after {
        display: flex;
        margin: -10px 0 0!important;
        font-size: 2rem;
        font-weight: 300;
        -webkit-background-clip: text!important;
        -webkit-text-fill-color: transparent;
        background: -webkit-linear-gradient(#fff,#aaa);
        line-height: 2.0;
        font-family: poppins;
    }
    

    You’ll then need a global widget with this code

    <header class="Hero PageHero">
    <div class="container">
    <ul class="PageHero-items">
    <li class="item-title">
    <h2 class="PageHero-title">{title}</h2>
    </li>
    </ul>
    </div>
    </header>
    
    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    Easily done, but it’s not entirely “simple”

    🤔 😛

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    Easily done, but it’s not entirely “simple”

    🤔 😛

    wrote on last edited by

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    Easily done, but it’s not entirely “simple”

    🤔 😛

    Will have a look 🙂 thanks mate.

  • JAC JAC

    @jac said in NodeBB customisation:

    @phenomlab said in NodeBB customisation:

    Easily done, but it’s not entirely “simple”

    🤔 😛

    Will have a look 🙂 thanks mate.

    wrote on last edited by

    @jac I can assist of course…

  • @jac I can assist of course…

    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac I can assist of course…

    Thank you matey, appreciated 🙂

  • @jac I can assist of course…

    wrote on last edited by

    @phenomlab I have ran into the not entirely “simple” part 😉 .

  • JAC JAC

    @phenomlab I have ran into the not entirely “simple” part 😉 .

    wrote on last edited by

    @jac look to have fixed 🙂

  • JAC JAC

    @jac look to have fixed 🙂

    wrote on last edited by

    @jac said in NodeBB customisation:

    @jac look to have fixed 🙂

    …ish 😛

    Screenshot 2022-01-18 at 15-30-28 Stockport County FC Fans Forum.png

  • JAC JAC

    @jac said in NodeBB customisation:

    @jac look to have fixed 🙂

    …ish 😛

    Screenshot 2022-01-18 at 15-30-28 Stockport County FC Fans Forum.png

    wrote on last edited by

    @jac That’s caused by the recent cards plugin, which is being loaded first. You’ll need to remove or re-position that widget

  • @jac That’s caused by the recent cards plugin, which is being loaded first. You’ll need to remove or re-position that widget

    wrote on last edited by

    @phenomlab Thanks mate, I’ve been trying to rearrange it so the recent cards widget falls under the banner.

  • JAC JAC

    @phenomlab Thanks mate, I’ve been trying to rearrange it so the recent cards widget falls under the banner.

    wrote on last edited by

    @jac Not hard to do (potentially) but it would mean changing the loading order of the plugins. Let me have a look.

  • @jac Not hard to do (potentially) but it would mean changing the loading order of the plugins. Let me have a look.

    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac Not hard to do (potentially) but it would mean changing the loading order of the plugins. Let me have a look.

    Many thanks mate.

    I think the issue falls as one widget is global and the other is situated under categories.

  • JAC JAC

    @phenomlab said in NodeBB customisation:

    @jac Not hard to do (potentially) but it would mean changing the loading order of the plugins. Let me have a look.

    Many thanks mate.

    I think the issue falls as one widget is global and the other is situated under categories.

    wrote on last edited by

    @jac Unfortunately, no. It’s the loading order of the plugin. I’ve changed it, but it doesn’t seem to have any impact, so the only “fix” is to remove the recent cards widget or place it elsewhere.

  • @jac Unfortunately, no. It’s the loading order of the plugin. I’ve changed it, but it doesn’t seem to have any impact, so the only “fix” is to remove the recent cards widget or place it elsewhere.

    wrote on last edited by

    @phenomlab said in NodeBB customisation:

    @jac Unfortunately, no. It’s the loading order of the plugin. I’ve changed it, but it doesn’t seem to have any impact, so the only “fix” is to remove the recent cards widget or place it elsewhere.

    Thanks for trying mate.

    That’s fine with me for it to be placed elsewhere.


Related Topics
  • 2 Votes
    1 Posts
    639 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
  • 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] Welcome Message

    Solved Customisation css html nodebb
    20
    2
    13 Votes
    20 Posts
    9k Views
    phenomlab
    @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
    4k Views
    JAC
    @phenomlab said in NodeBB Footer: @jac and you. Hope all is well and you recover quickly Thanks pal
  • 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 ?
  • 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 .
  • 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