News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

How can I make all posts the same colour, whilst leaving the index duotone?

Started by Plutuss, October 23, 2010, 01:59:01 PM

Previous topic - Next topic

Plutuss


Hello,

I would like all posts to be the colour of bg, while leaving the usual bg/bg2 colour scheme for all other parts of the forum.

How might I go about doing this?

Thank you. I am using SMF 2 RC 3 Curve theme.

Kermit

To be honest i didn't get the point,if the color of post will be the same as bg,how posts will be visible ?

But i can say for changing the color of posts you can make these changings

in ./Themes/default/css/index.css

Code (find) Select

/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
overflow: auto;
line-height: 1.4em;
padding: 0.1em 0;
}


Code (replace) Select

/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
overflow: auto;
line-height: 1.4em;
padding: 0.1em 0;
color: #7FFF00;
}


For css color codes you can see here
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Paul_Pauline

Hi Duncan   :)

I believe you misunderstood what he wants   :P

He wanted all the backgrounds in posts the same color "bg", not the text.

But he wants to retain the alternating backgrounds "bg" and "bg2" everywhere else.
"In every life, no matter how full or empty one's purse, there is tragedy. It is the one promise life always fulfills.
Happiness is a gift and the trick is not to expect it, but to delight in it when it comes and to add to other people's store of it."
Pauline was one of those rare people who increased the store of happiness in the world.

Kermit

As i stated in my message i couldn't get exactly what he wanted,so my mistake  :P

Then he can try this

in Display.template.php

Code (find) Select

echo '
<div class="', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') : 'approvebg', '">
<span class="topslice"><span></span></span>
<div class="post_wrapper">';


Code (replace) Select

echo '
<div class="', $message['approved'] ? 'windowbg' : 'approvebg', '">
<span class="topslice"><span></span></span>
<div class="post_wrapper">';
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Plutuss

Quote from: Paul_Pauline on October 24, 2010, 07:25:41 AM
Hi Duncan   :)

I believe you misunderstood what he wants   :P

He wanted all the backgrounds in posts the same color "bg", not the text.

But he wants to retain the alternating backgrounds "bg" and "bg2" everywhere else.

Exactly!  ;D Thank you ;)

Plutuss

Quote from: Duncan85 on October 24, 2010, 07:33:15 AM
As i stated in my message i couldn't get exactly what he wanted,so my mistake  :P

Then he can try this

PERFECT!  :D



Advertisement: