@crazycells said in CSS code customization for the link preview plugin:
does OGProxy show the pdf previews as well?
Not yet, but it could with a bit of additional code.
@downpw said in [NODEBB] Help for my custom CSS:
– It’s Ok just for this below but I must use :
I don’t understand why you need this ?
@downpw said in [NODEBB] Help for my custom CSS:
…but not for edit chat button and preference button
I can’t replicate this
All I did was to remove
.btn-group>.btn:last-child:not(:first-child), .btn-group>.dropdown-toggle:not(:first-child) {
margin-left: -3px;
}
I don’t think you need this line at all
see my 2 last screenshots and connect to the website
@downpw This will fix the reply button on hover
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
margin-right: 2px;
}
This will fix the search alignment, as the CSS is inherited
a#save-preferences {
margin-left: -3px;
margin-right: 2px;
}
This should fix the message buttons
.message-body, .btn-xs.btn-link {
margin-left: -2px !important;
margin-right: 1px !important;
}
And this will fix the composer submit button
.composer-submit {
margin-left: -3px !important;
}
these code just for CustomCSS file isn’t it @phenomlab ?
On ACP, I leave the code you gave me
@downpw Correct. Only apply these fixes to your custom CSS.
@phenomlab said in [NODEBB] Help for my custom CSS:
@downpw This will fix the reply button on hover
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { margin-right: 2px; }
No need, margin-right: 0px; is good for me
This will fix the search alignment, as the CSS is inherited
a#save-preferences { margin-left: -3px; margin-right: 2px; }
No working, just add border-radius to 0
a#save-preferences {
border-radius: 0px;
}
This should fix the message buttons
.message-body, .btn-xs.btn-link { margin-left: -2px !important; margin-right: 1px !important; }
Not working, i was try button .btn .btn-xs .btn-link too. Border is always here. maybe more specific about this button but I don’t see the class.
And this will fix the composer submit button
.composer-submit { margin-left: -3px !important; }
No need it seems to me
@downpw Very odd. I actually used this CSS on your site and it works perfectly.
I don’t know.
I delete the cache all the time after modif CSS file.
@downpw I just tried this again from an incognito session, and the CSS I suggested also works perfectly. Very strange indeed…
Can you see my CSS/ACP ?
maybe I did things wrong?
I try on private navigation too.
@downpw Yes, I see the ACP - none of the CSS I provided should be in there - it should only reside in the custom themes.
hmm if you can see custom CSS, I would appreciate it
@downpw Let me have a look
@downpw Can you please insert the code I provided into the Dark Aqua CSS theme file?
so sorry. first code ?
@downpw this one
https://sudonix.com/topic/207/nodebb-help-for-my-custom-css/7?_=1642791291710
I’ll have a look at this tomorrow but ideally need the code applied beforehand.
Ok done at the end of the file
@downpw thanks
@downpw Are these lines still there ? I don’t see them at the bottom of the file ?
PM