Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: Nickhead - heinäkuu 09, 2011, 12:23:58 AP

Otsikko: horizontal alternating background colors, board index.
Kirjoitti: Nickhead - heinäkuu 09, 2011, 12:23:58 AP
like it is within the messages.

the one thread here, the code needed changed, doesnt match the code i have for my board index.  i assume its due to the number of mods i have already installed.

ive attached my board index incase anyone knows how to make this possible.  i just dont like the vertical and want to flip it 90 degrees.

the image is of my vertical that i want to change directions on.

1.1.14
Otsikko: Re: horizontal alternating background colors, board index.
Kirjoitti: Topman - heinäkuu 09, 2011, 04:41:48 AP
have a look in the STYLE css file under the theme you are using.
It is probably one of those that needs changing.
Otsikko: Re: horizontal alternating background colors, board index.
Kirjoitti: Nickhead - heinäkuu 09, 2011, 06:11:50 AP
Lainaus käyttäjältä: topman - heinäkuu 09, 2011, 04:41:48 AP
have a look in the STYLE css file under the theme you are using.
It is probably one of those that needs changing.

the way i understand it, these edits are not in the style.css file.

i have looked as well.

but i could be wrong.
Otsikko: Re: horizontal alternating background colors, board index.
Kirjoitti: Kermit - heinäkuu 09, 2011, 06:36:04 AP
To be honest i don't get much,how it should look like after changing the code,maybe you can show with another picture for making it more clear
Otsikko: Re: horizontal alternating background colors, board index.
Kirjoitti: Nickhead - heinäkuu 09, 2011, 07:24:25 AP
remove the dark grey and add the red.

the red on final, would be different.


merely an example.
Otsikko: Re: horizontal alternating background colors, board index.
Kirjoitti: Kermit - heinäkuu 09, 2011, 09:53:59 AP
Please add your MessageIndex.template.php and style.css file and give the color code of your desired color

For color codes you can check here

http://www.w3schools.com/cssref/css_colornames.asp
Otsikko: Re: horizontal alternating background colors, board index.
Kirjoitti: Nickhead - heinäkuu 09, 2011, 06:17:39 IP
#CDCDCD, #ACACAC

Otsikko: Re: horizontal alternating background colors, board index.
Kirjoitti: Kermit - heinäkuu 10, 2011, 03:31:55 AP
Try attached file
Otsikko: Re: horizontal alternating background colors, board index.
Kirjoitti: Nickhead - heinäkuu 10, 2011, 03:59:20 AP
Lainaus käyttäjältä: Duncan85 - heinäkuu 10, 2011, 03:31:55 AP
Try attached file

i have downloaded your edited file,

i hate to be a pain in the ass... and btw, thank you very much for making these edits.... but...

which block of code pertains to this particular topic?

i only ask as i was getting advice from another user on visual appeal, and have changed a few colors.  so as i can make a couple color changes to match my current?

http://elephantintheparlor.org/forum/cornicopia-of-topics/
Otsikko: Re: horizontal alternating background colors, board index.
Kirjoitti: Kermit - heinäkuu 10, 2011, 04:58:07 AP
You can check the codes with counter % 2 .... thing,it makes the horizontal color change
Otsikko: Re: horizontal alternating background colors, board index.
Kirjoitti: Nickhead - heinäkuu 15, 2011, 03:40:47 AP
update:

i duplicated my default theme, and made the edit there.

that looks fantastic.

ill edit the colors soon.

thank you very much.

marked as solved.