CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text.


Inactive User
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. :twisted:

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

Find:

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

Replace With:

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




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

Subject: Re: COSMETIC - Adding A Left Margin To Posted Text.
Another great one Lopalong.

Moving it ;)

 
Off Topic
:
Quote:
Rank: Village Idiot

Really?

Profile PM  
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: [Download] [Hide] [Select]
.post-text {
max-width: 740px !important;
text-indent: 40px;
}


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

Profile PM  
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.

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

Profile PM  
Subject: Re: CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text.
Thing is

Batman

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

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: [Download] [Hide] [Select]
.post-text {
max-width: 740px !important;
}

Replace With:

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

Profile PM  
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 :LOL:

Profile PM  
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: [Download] [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;
}

Profile PM  
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, :cry:

Profile PM  
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. :x

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0998s (PHP: 30% SQL: 70%)
SQL queries: 11 - Debug Off - GZIP Enabled