Former Member
inherit
guest@proboards.com
213980
0
Nov 28, 2024 10:23:59 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 14, 2017 3:18:39 GMT -8
Forum URL: gametek.boards.net/Can someone help me to make boards colors like this : gray,white,gray,white... Here is example:
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Aug 14, 2017 10:30:44 GMT -8
Assuming the color you have now is either white or gray you could add this to the bottom of your style sheet: (of course change the #ffffff to gray if that is what you need.) /*change color of odd boards*/ .container.boards tr:nth-child(odd){ background-color:#ffffff!important; } Now that also happens to grab the board titles row that is at the top of each category so you'd need this to change that part back to the orginal color: .container.boards th.icon, .container.boards th.main, .container.boards th.threads, .container.boards th.posts,.container.boards th.latest.last{ background-color: # bca7a7; } Unfortunately, the css above starts over when a new category is started so not sure if that is a concern or not. You can see what I mean on this test site, where the last board in the Games category is tan and then in the next category it starts off with tan. Another option is just to do each board you want a different color by grabbing the id. (You can get it by simply clicking on the board and looking at the address it shows in your browsers address bar or right click the board and "inspect the element". So on my test site, my first, third have an id of 6 and 4 so the css would be: #board-6, #board-4{ background-color: #ffffff!important; } You can just keep adding boards by adding a comma and then add the next id always making sure the last one has no comma after it. Hope one of those options help.
|
|
Former Member
inherit
guest@proboards.com
213980
0
Nov 28, 2024 10:23:59 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 14, 2017 11:39:21 GMT -8
Thank you Tumbleweed I used that last code
Now I have another problem
Last post links background is white,how to make it transparent
Edit: I fixed it,no problem Thank you again
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Aug 14, 2017 22:54:04 GMT -8
You're welcome and glad you got things how you like them. Checked your site out and it looks good.
|
|
Former Member
inherit
guest@proboards.com
213980
0
Nov 28, 2024 10:23:59 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 15, 2017 4:02:15 GMT -8
You're welcome and glad you got things how you like them. Checked your site out and it looks good. Thank you,I'm doing my best
|
|