News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

One more problem just noticed in 2.0 RC2 Public Release

Started by james_0_0_7, November 09, 2009, 04:13:12 AM

Previous topic - Next topic

james_0_0_7

Guys,
         As you see here in simplemachines.org the posting box on which we type is at the center but in my site it is at left side. Is that a problem or coding change?


Antechinus

Code change. This site is still running the old post template, apparently. Personally I prefer to have the post form set in a bit as it looks odd to me jammed over at the left.

james_0_0_7

Well can you tell me steps to bring it in the middle as this is also really odd to me


Antechinus

Quick fix is to find this in css/index.css:

/* Styles for edit post section
---------------------------------------------------- */
#post_header
{
   margin-bottom: 0.5em;
   border-bottom: 1px solid #CACDD3;
   padding: 0.5em;
   overflow: hidden;
}


Replace with this:

/* Styles for edit post section
---------------------------------------------------- */
form#postmodify .roundframe
{
    padding-left: 15%;
}
#post_header
{
   margin-bottom: 0.5em;
   border-bottom: 1px solid #CACDD3;
   width: 69%;
   padding: 0.5em;
   overflow: hidden;
}


That wont be perfectly centered but IMO it looks a lot better. Will find a better solution before the next release but haven't had time yet.

james_0_0_7

Well that code didn't did any change in the posting box its still in the same place where it was


Antechinus

Clear your browser cache and force a refresh. CSS is cached.

james_0_0_7

Well yes its now working thank you very much for fixing this  :-*



Advertisement: