Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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: [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.    
 
 
Edited by novice programmer, Tue 15 Sep, 2009 20:52: Added the title tag ;)
 
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: COSMETIC - Adding A Left Margin To Posted Text. 
 
Another great one Lopalong.

Moving it

 
Off Topic
:
Quote:
Rank: Village Idiot

Really?

 




____________
~~ novice programmer ~~
 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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...
 



 
rixardSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
batmanSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: CUSTOMIZATION - COSMETIC - Adding A Left Margin To Posted Text. 
 
Thing is

Batman

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




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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;
}

 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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  
 



 
batmanSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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;
}

 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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,  
 



 
batmanSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.  
 



 
mortSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron