Closed luisbebop closed 9 years ago
I managed to change the header, which looks 99% similar to the original header; the missing 1% is just too hard to achieve, because there tons of CSS and custom styles at Discourse.
I'm getting problem to click on the icons on the top right.
That was because of the position: fixed
, which is now with a defined width. It should work now.
When I click on the icons on the top right menu, the navigation links you added are disappearing.
Nice one. Fixed by increasing the z-index
.
Still getting problems with the z-index
.
When I click to edit a topic on the forum the modal is being overloaded by the header.
This is tricky.
I had to set the navbar with a z-index of 1045, so when you click on the right icons (notifications, search, etc), the navbar won't disappear. The problem is that when the navbar z-index is higher than 1040, the edit overlay (the window to edit the post) can't overlap the navbar.
To sum up: If we fix the problem of the icons on the right, we break the edit modal; if we fix the edit modal, we break the icons on the right.
I've added a transparent background on the navbar items, which now allows you to actually use the edit window, but the visual effect is not perfect:
When the user are not logged he is going to see:
Explore | People | Forum
This same header should be used at forum.arcturus.io