• Welcome to Simple Machines Community Forum. Please login or sign up.

WYSIWYG Quick Reply v2

Started by PaulpBaker, July 24, 2008, 03:18:45 PM

Previous topic - Next topic

GL700Wing

Apologies for not making it clear in my earlier post that you needed to first install the mod and then make the code changes.

Quote from: Dr Web on October 14, 2021, 04:24:51 PMI know very little about code :)

That's why I ask many things here. Is it possible to let me know what should I do?
To center the BBCode options, Smileys, Text Box and Buttons in the Quick Reply box add the following lines to the end of ./Themes/core/css/index.css:
#quickReplyOptions #quickReplyContent
{
    border: none;
    float: none;
    margin: auto;
}


Also, I made a mistake in the code yopu need to add to the end of ./Themes/core/css/index.css to make the resizer bar line up with text edit box - it should have been:
#quickReplyOptions #quickReplyContent form#postmodify div#message_resizer { margin: 0; }
If after making these changes the Quick Reply area does not look like the following please attach your ./Themes/core/Display.template.php and ./Themes/core/css/index.css files to your reply.
You cannot see attachments on this board.
Life doesn't have to be perfect to be wonderful ...

Dr Web

First no need to apologize for anything. I am the one that needs to be thankful for your help.

I did what you suggested, but, nothing happened. I attached the two files you requested.

Also, please let me know how to move the three buttons below a little more to the left to be aligned with the box.

Thanks a lot for your help.
Never approach a bull from the front, a horse from the rear, or an idiot from any direction ;D

GL700Wing

Quote from: Dr Web on October 15, 2021, 10:06:34 AMFirst no need to apologize for anything. I am the one that needs to be thankful for your help.
You're welcome.

QuoteI did what you suggested, but, nothing happened. I attached the two files you requested.

Also, please let me know how to move the three buttons below a little more to the left to be aligned with the box.
I checked your files and there is a line missing in the index.css file - everything (including the buttons) should be centered if you insert the line
#quickReplyOptions #quickReplyContent
before the following lines:
{
    border: none;
    float: none;
    margin: auto;
}
Life doesn't have to be perfect to be wonderful ...

Dr Web

Sorry. It didn't work.

I noticed a few yellow warning triangles on the left side on my ./Themes/core/css/index.css file

I don't remember seeing this before. Maybe there is some error on my css file? 

Never approach a bull from the front, a horse from the rear, or an idiot from any direction ;D

GL700Wing

Quote from: Dr Web on October 15, 2021, 08:04:33 PMSorry. It didn't work.
You need to make sure the updated css file is loaded by your browser - have you cleared the browser cache for your website?

Also, try a different browser and see if the problem persists.
Life doesn't have to be perfect to be wonderful ...

Dr Web

Quote from: GL700Wing on October 15, 2021, 08:14:23 PMYou need to make sure the updated css file is loaded by your browser - have you cleared the browser cache for your website?

Bingo ;D

Curiously for many other changes it wasn't needed to clean the browser cache, but for this one yes.

Thank you very much for your help. Greatly appreciated. 
 
Never approach a bull from the front, a horse from the rear, or an idiot from any direction ;D

Advertisement: