WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Post Background color Empty Post Background color Fri Nov 05, 2010 6:33 pm

Matti

Matti
Registered Member
Registered Member
Hello,

I want to change the post background color for example: my first post show red and the next post show black so how can i do that cuz i only know how to make the posts to show all the same.

Code:
.post{
background: #111
}

But what i need to do to change the next post in red color.

Hope some one help.

cheers: Maki

http://csshelp.forumotion.net/

2Post Background color Empty Re: Post Background color Fri Nov 05, 2010 6:59 pm

Guest


Guest
i think this can be solved in the admin panel.

3Post Background color Empty Re: Post Background color Fri Nov 05, 2010 7:29 pm

Matti

Matti
Registered Member
Registered Member
I'm asking for css code and not to A-CP

http://csshelp.forumotion.net/

4Post Background color Empty Re: Post Background color Sat Nov 06, 2010 5:44 pm

Guest


Guest
i dont think there's a css for that.
The only value is .post .

5Post Background color Empty Re: Post Background color Sat Nov 06, 2010 7:47 pm

Matti

Matti
Registered Member
Registered Member
@Nick

This code
Code:
.post{
background: #111
}

make all the post BG black so I need another one just like that so I can change color in red.

Ex: here
Mine shows in black

Yours shows in red

and mine again in black and so on...

http://csshelp.forumotion.net/

6Post Background color Empty Re: Post Background color Sat Nov 06, 2010 8:00 pm

Terry Harvey

Terry Harvey
Registered Member
Registered Member
I don't know if that is actually possible...

7Post Background color Empty Re: Post Background color Sun Nov 07, 2010 11:42 pm

Matti

Matti
Registered Member
Registered Member
McWind wrote:I don't know if that is actually possible...

With CSS everything is possible lol! I think...

http://csshelp.forumotion.net/

8Post Background color Empty Re: Post Background color Mon Nov 08, 2010 1:11 pm

ankillien

ankillien
Administrator
Administrator
Maki wrote:With CSS everything is possible lol! I think...

As far as it is about look and design Razz

Here is what you want...

Code:
.row1[class="post row1"]{
background: red !important;
}
.row2[class="post row2"]{
background: green !important;
}

9Post Background color Empty Re: Post Background color Mon Nov 08, 2010 6:33 pm

Guest


Guest
You can do it from the Colors. background 1 and 2 i think Very Happy or 3 Razz

10Post Background color Empty Re: Post Background color Mon Nov 08, 2010 6:53 pm

ankillien

ankillien
Administrator
Administrator
Gangstar15 wrote:You can do it from the Colors. background 1 and 2 i think Very Happy or 3 Razz

Yes, thats the easiest way. Admin CP > Display > Colors.

11Post Background color Empty Re: Post Background color Mon Nov 08, 2010 9:37 pm

Matti

Matti
Registered Member
Registered Member
anki, the code didn't work.

Guys I know that is the easiest way but that change other things as well.

http://csshelp.forumotion.net/

12Post Background color Empty Re: Post Background color Mon Nov 08, 2010 9:43 pm

ankillien

ankillien
Administrator
Administrator
Sorry, the code had a bug.

Here is a new one...


Code:
.row1[class="post row1"],
.row1[class="post row1 online"]{
background: red !important;
}
.row2[class="post row2"],
.row2[class="post row2 online"]{
background: green !important;
}

Now it should work Very Happy

13Post Background color Empty Re: Post Background color Mon Nov 08, 2010 9:46 pm

Matti

Matti
Registered Member
Registered Member
Thanks, that worked Very Happy

http://csshelp.forumotion.net/

14Post Background color Empty Re: Post Background color Mon Nov 08, 2010 10:16 pm

ankillien

ankillien
Administrator
Administrator
Solved | Locked

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum