Thank you Mark, the changes look fantastic!!
Heading text on NodeBB forum
-
@phenomlab Here is an example of what I meant:
Basically, having the tagline in the header, where the logo is.
The tagline can be a JPEG banner that I can create and upload or it can be a text that can appear there. -
@mventures You could achieve this effect with a
:psuedo
CSS class. Let me have a look at this -
@mventures I forked this into it’s own topic as it deviates from the original thread.
-
@mventures How’s this ?
To achieve this look
- Create a Brand Header widget
Save
- Go to
admin/appearance/customise#custom-css
- Add the below CSS
[data-widget-area="brand-header"] { display: contents; } .tagline { position: relative; margin-left: 10px; margin-top: 20px; }
Save
-
-
@phenomlab That’s awesome! Keen to give that a try right now! Thank you I shall be back.
-
UPDATE: It worked Thank you again. I added a few sentences and had to do a hard refresh for everything to appear and its exactly how I need it to be.
Was that BRAND HEADER widget always there or did you create it just now?? -
@mventures The brand widget is part of the Harmony theme, so it already exists.
Also, I added another CSS class so that the tagline is hidden on mobiles. With all that text, it’ll wrap and take half of the mobile screen estate, which will look awful.
@media (max-width: 576px) { .tagline { display: none; } }
-
@phenomlab That’s a great idea! I didn’t think of that. Thank you.
-
@phenomlab Sorry I am back on this one. I just noticed on the desktop a blue bar appears across the header region when you visit any of the categories. Does it have to do with your CSS class insertion? It doesn’t appear on the homepage but the channel pages only.
-
UPDATE: That blue bar has now disappeared and I did nothing. Perhaps, you @phenomlab ?
-
@mventures I’ve not done anything here.
Did this solution help you?
Related Topics
-
-
Forum Icons NodeBB
Solved Customisation -
-
-
-
[NODEBB] Stats
Unsolved Customisation -
-