@DownPW very useful tip. Thanks
[NODEBB] Help for my custom CSS
-
@DownPW possibly with
:not
in the css class -
I think I understand but I donโt find the good CSS class
here the code for recent page for example :
.category-item:first-of-type { border-top: 1px solid #0a769978 !important; border-top-left-radius: 4px !important; border-top-right-radius: 4px !important; }
and I will test this for disable border-top on topic page but donโt work:
.category-item:first-of-type:not(.category-item .inline-block){ border-top: 0px solid #0a769978 !important; }
here the html code :
-
@DownPW sorry for late reply. Can you provide me with a url where this issue exists ? PM is fine of course if you donโt want to publish directly here.
-
@DownPW A couple of things here. You are using the
!important
argument twice - one will override the other, meaning they canโt both be set like that - typically, the last marked so will be preferred. Would this not work better ?.category-item.inline-block { border-top: none !important; } .category-item:first-of-type { border-top: 1px solid #0a769978; border-top-left-radius: 4px; border-top-right-radius: 4px; }
-
Thanks Mark
I will test that tomorrow and I will tell you if is good or not !
โ Other bug i have to resolve my friend :
- When I have plenty of tag on Post, have this :
How to add a top space beetween the tag for a better lisibility ?
Thanks in advance @phenomlab
-
@DownPW said in [NODEBB] Help for my custom CSS:
โ Other bug i have to resolve my friend :
When I have plenty of tag on Post, have this :
How to add a top space beetween the tag for a better lisibility ?
Thanks in advance @phenomlaban idea for that @phenomlab ?
-
@DownPW Iโll check and get back to you.
-
@DownPW Try this
.tag-list { display: inline-block; margin-top: 5px; line-height: 1.7; }
Because you are using
inline-block
to float the elements on the same line, you cannot use margins to control the space. In this case,line-height
will provide what you are looking for. -
-
Hello @phenomlab
I have a odd littlebug only on Smartphone chrome based browsers (chrome, vivaldi, brave) only (itโs ok on firefox mobile)
the right border of categories /topic is not visible
Here a screenshot of the problem on chrome based browsers:
And a good result on firefox mobile (itโs OK) :
odd
-
@DownPW odd indeed. Can you send me the CSS you are using for this ?
-
.categories > li, .category > ul > li { border: 1px solid silver; border-radius: 4px; margin-top: 5px; background: black; opacity: 0.9; }
-
@DownPW change the
silver
for a hex value. -
@phenomlab Doesnโt work
-
@DownPW can you also change background from
black
to#000000
-
yes I have test tooโฆ
I have test too to disable all custom CSS on nodebb acp and delete all css code on file css theme with just
.categories > li, .category > ul > li {
active and itโs the sameโฆdelete cache too and logout/login
-
@DownPW is there a URL where I can check this ? Might not be this evening, but definitely tomorrow am.
-
like as usual
-
@DownPW Try this
@media (max-width: 768px) { .slideout-panel { margin-right: 1px; } }
The issue here is how other mobile browsers interpret the padding on the slideout panel, so we need to โpatchโ it so that those browsers can use the forced margin instead.
-
great it works great
You had to see this stuff !!
You are too strong as usual Mark.
Many Thanks
Did this solution help you?
Related Topics
-
-
[NODEBB] Stats
Unsolved Customisation -
NodeBB Footer
Solved Customisation -
Nodebb Hashtag plugin
Solved General -
NodeBB Design help
Solved Customisation -
-
Customising NodeBB
Locked Customisation -