After update, quick replay 'more' button stopped working in custom theme?

Started by pulgoki, July 11, 2025, 11:02:21 AM

Previous topic - Next topic

Lucarella

Where is this parenthesis missing? I can't find the right place...

pulgoki

At the very end. It's missing a }

I can't believe I didn't catch it at first. 

This

div.sceditor-smileyPopup #sceditor-popup span.button {
    margin-top: 20px;
    align-self: center;

should look like this

div.sceditor-smileyPopup #sceditor-popup span.button {
    margin-top: 20px;
    align-self: center;
}

It's not a big deal, but if you copy the change straight from the patch notes, just keep in mind not to forget to add the closing }  -  or just be careful how you paste it. Which was probably more the problem. (operator error)



Lucarella


shawnb61

Quote from: Lucarella on July 15, 2025, 05:06:53 PMEverything is ok in my file.. Is it possible?
You're good if, after the edits, your source code looks as intended, which is visible up on GitHub:
https://github.com/SimpleMachines/SMF/blob/0c3bd52261990efa9a91ffe9b7c5ccebf24be9c8/Themes/default/css/jquery.sceditor.css#L309


Note the filenames are a little odd...  This might help:
Quote from: shawnb61 on August 05, 2023, 07:26:40 PM- jquery.sceditor.theme.css covers the appearance of the sceditor area.  From the rows of formatting buttons to the bottom of the textarea.
- jquery.sceditor.default.css covers the textarea ONLY, in WYSIWYG mode ONLY.

So if you want a unique appearance of the editor, e.g., buttons & toolbars, etc., update jquery.sceditor.theme.css in your theme folder.  It may help to start with a copy of jquery.sceditor.css from the default theme.

If you want to control WYSIWYG appearance within the editor textarea, update jquery.sceditor.default.css in your theme folder.  It may help to start with a copy of jquery.sceditor.default.css from the default theme.
Note the name change for the first file...  In the default theme, the file is named jquery.sceditor.css.  If a theme chose to override that, it would be in the theme css folder named jquery.sceditor.theme.css. 
A question worth asking is born in experience & driven by necessity. - Fripp

Lucarella

I compared the files used on the forum with the original ones, both for the default theme and the custom theme, and the text is identical, but it still doesn't work.
I can also guarantee that it's not a conflict with a mod, since you uninstalled them all and that didn't help either.

Do you have any other ideas?

Illori

Lucarella if you are having an issue, please open your own topic so we can assist you. it is getting confusing trying to help you in someone else's topic that is marked solved.

Advertisement: