SimplePortal

Support => English Support => Topic started by: iobit on May 28, 2011, 04:04:43 PM

Title: Center image/post in portal automatic
Post by: iobit on May 28, 2011, 04:04:43 PM
Hello,
i'm very happy tranfered vbulletin forum to SMF  :D, but i have a little problem: the hold furum have the (image and poster) at left. Can i [ center ] [ / center ] all (image an post)  automatic? because in portal is better.... and in future when a user post the whole thread  is automatic in  [ center ] [ / center ] mode?
(i hope yes)  :-[

Thanks
Title: Re: Center image/post in portal automatic
Post by: iobit on May 29, 2011, 07:25:49 AM
Solved:

You can change the css, for example, SFM 2 should be sufficient to open index.css (found in themes / yourtheme / css / course instead of yourtheme  you check the directory of your theme, such as default), and look for the class assigned to post on the default theme is named after, you'll find something like this:
Code: [Select]
.post
{
margin-top: 0.5em;
clear: right;
}
Add
Code: [Select]

text-align: center;


to obtain
Code: [Select]
.post
{
margin-top: 0.5em;
clear: right;
text-align: center;
}

thanks to Emanuele from SMF forum support Italian moderators.
Title: Re: Center image/post in portal automatic
Post by: wiecher on May 30, 2011, 04:29:17 PM
This is for text and not graphics, right?
Title: Re: Center image/post in portal automatic
Post by: iobit on June 16, 2011, 05:24:59 PM
text and graphics  :D
SimplePortal 2.3.8 © 2008-2024, SimplePortal