CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text. »  Show posts from    to     

Icy Phoenix


Documentation And How To - CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text.



Lopalong [ Mon 14 Sep, 2009 03:12 ]
Post subject: CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text.
IMHO this adds a bit of "Spit and Polish" to the presentation of the posts.

Code: [Hide] [Select]
Open: Your style_*.css

Find:

.post-text {
max-width: 740px !important;
}

Replace With:

.post-text {
max-width: 740px !important;
margin-left: 20px;
}


untitled_2_1252890717_661554

I don't know whatever else it affects etc, but I should imagine it would only improve it from what it originally was.


novice programmer [ Tue 15 Sep, 2009 18:11 ]
Post subject: Re: COSMETIC - Adding A Left Margin To Posted Text.
Another great one Lopalong.

Moving it

 
Off Topic
:
Quote:
Rank: Village Idiot

Really?


rixard [ Sun 04 Oct, 2009 03:30 ]
Post subject: Re: CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text.
Hi Lopa, thanks for this mod, I have a question,

How can I do to put this bleeding?

I try:
Code: [Hide] [Select]
.post-text {
max-width: 740px !important;
text-indent: 40px;
}


but text-indent only works at the first line...


Mighty Gorgon [ Wed 21 Oct, 2009 00:40 ]
Post subject: Re: CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text.
Yes... that is the purpose of this modification.

If you want to indent everything then use padding.


batman [ Tue 22 Feb, 2011 06:59 ]
Post subject: Re: CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text.
Unfortunately adding the margin also knocks custom blocks off center

22_02_2011_05_56_07


spydie [ Tue 22 Feb, 2011 09:07 ]
Post subject: Re: CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text.
Thing is

Batman

This does´nt work on Prosilver, css is somewhat different


mort [ Tue 22 Feb, 2011 11:25 ]
Post subject: Re: CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text.
batman wrote: [View Post]
Unfortunately adding the margin also knocks custom blocks off center


I haven't looked at it - try this - if it doesn't work - I'll have a look at why it doesn't.

Code: [Hide] [Select]
.post-text {
max-width: 740px !important;
}

Replace With:

.post-text {
max-width: 740px !important;
padding-left: 20px;
}


batman [ Wed 23 Feb, 2011 09:28 ]
Post subject: Re: CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text.
I did try it but isn't really worth the problems, if anything Id rather alter the actual width so it extends over to the right more, but not sussed out were to alter it yet


mort [ Wed 23 Feb, 2011 10:42 ]
Post subject: Re: CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text.
ip/default/common.css

Just try changing the margin. If the results are the same - I'll leave it to MG to have a look at it, after all it's his theme.

Code: [Hide] [Select]
.post-text {
width: 98% !important;
float: left;
clear: both;
font-size: 12px;
margin-left: 20px;

/*line-height: 1.2em;*/
/* to avoid vertical scrollbar with acronyms in last line */
padding-bottom: 3px;
}


batman [ Wed 23 Feb, 2011 12:46 ]
Post subject: Re: CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text.
Doesn't seem to work, am gonna take a break as its driving me up thew all at the moment,


mort [ Thu 24 Feb, 2011 10:59 ]
Post subject: Re: CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text.
It's only a template issue.

Find: post-text - copy to post-text2 and change that to padding whatever.

Find the post-text in the theme that should be after <textarea> in posting_template.tpl or whatever it's called and change it to post-text2 so that you only affect the theme that you are using.

If it's global as in the default posting_template.tpl or whatever, then copy posting_template.tpl to the theme you are using and edit it there.

Better still - Start a NEW thread on your question in templates and styles whatever, and maybe then MG will see it rather than drag up the problem in old threads.


I HATE - Nested templates.




Powered by Icy Phoenix