Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: Membre on February 24, 2010, 10:38:33 AM

Title: Easy Question - How to Center reply box?
Post by: Membre on February 24, 2010, 10:38:33 AM
I want this
(http://img215.imageshack.us/img215/3876/capturaji.png)

To look something like this
(http://img689.imageshack.us/img689/6434/captura2f.png)

Thanks :)
Title: Re: Easy Question - How to Center reply box?
Post by: Membre on February 25, 2010, 04:07:07 AM
Nobody?
Title: Re: Easy Question - How to Center reply box?
Post by: Membre on February 26, 2010, 09:06:25 AM
?
Title: Re: Easy Question - How to Center reply box?
Post by: Nick Whetstone on February 26, 2010, 11:06:29 AM
I submitted a Mod to do this in RC2; RC3 fixes it. The Mod is awaiting approval, but here is the link: Center Post Box (http://custom.simplemachines.org/mods/index.php?mod=2451). You'll be able to see it when it is approved by the Customization team.
Title: Re: Easy Question - How to Center reply box?
Post by: Membre on February 26, 2010, 07:44:23 PM
Great :) hope it gets approved soon! thanks a lot and keep making mods!
Title: Re: Easy Question - How to Center reply box?
Post by: Nick Whetstone on February 27, 2010, 11:40:08 PM
If you want to manually do the edits instead of waiting for the Mod's approval, read this post (http://www.simplemachines.org/community/index.php?topic=367895.msg2516662#msg2516662). :)
Title: Re: Easy Question - How to Center reply box?
Post by: Membre on February 28, 2010, 09:11:00 AM
Quote from: Ha² on February 26, 2010, 12:56:34 PM
I made a Mod to fix the bug, but if you want to manually do the edits:
Code (Add to the end of /Themes/default/css/index.css) Select
form#postmodify .roundframe
{
padding:0 12%;
}

Then:
Code (Find in ./Sources/Subs-Editor.php) Select
'width' => isset($editorOptions['width']) ? $editorOptions['width'] : '70%',
Code (Replace that with) Select
'width' => isset($editorOptions['width']) ? $editorOptions['width'] : '100%',

Worked great :) if someone else do it and dont see the changes just press CTRL+F5.
Thanks ha2! cant wait to see your other mods.
Title: Re: Easy Question - How to Center reply box?
Post by: Joker™ on February 28, 2010, 09:45:30 AM
yup worked for me also ... ty :)
Title: Re: Easy Question - How to Center reply box?
Post by: Joker™ on February 28, 2010, 12:43:04 PM
i've just noticed that after changing that , the quick reply box became too large which created a scroll bar in bottom :o
Title: Re: Easy Question - How to Center reply box?
Post by: Membre on February 28, 2010, 03:29:40 PM
Quote from: sid2varun on February 28, 2010, 12:43:04 PM
i've just noticed that after changing that , the quick reply box became too large which created a scroll bar in bottom :o

Did you hit CTRL+F5 ?
Title: Re: Easy Question - How to Center reply box?
Post by: Joker™ on February 28, 2010, 10:34:06 PM
yup ....even cleared forum cache ....

i have quick reply enabled by default n this mod installed

http://custom.simplemachines.org/mods/index.php?mod=1299
Title: Re: Easy Question - How to Center reply box?
Post by: Membre on March 01, 2010, 03:36:25 PM
But quick reply was already centered :S
Title: Re: Easy Question - How to Center reply box?
Post by: Joker™ on March 01, 2010, 11:17:45 PM
i know it is centered , but after increasing the width its getting all too wide .....