The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Trying to change row line colour for table headers in CSS

4 posters

Go down

Trying to change row line colour for table headers in CSS Empty Trying to change row line colour for table headers in CSS

Post by Brad38 July 17th 2008, 9:51 pm

Hello,

Can someone advise me how to change the colour of my row lines of my table headers on my index page through CSS? It won't allow me to do this through the admin, it has to be done in the custom CSS. I've tried to figure out which colour codes to change or even which codes represent those elements, but I can't figure it out.

Thank you
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Trying to change row line colour for table headers in CSS Empty Re: Trying to change row line colour for table headers in CSS

Post by Jalokim July 17th 2008, 10:33 pm

It really depends on which table headers... wouldn't you mind adding a screen shot of the exact row line
Jalokim
Jalokim
Energetic

Male Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland

Back to top Go down

Trying to change row line colour for table headers in CSS Empty Re: Trying to change row line colour for table headers in CSS

Post by Brad38 July 17th 2008, 10:39 pm

Hi Jalokim...

Yes, ok...here is a screen shot from the Admin panel showing the element I'm trying to change and the "preview" of my forum with the red lines indicating where I want the row lines. I'm using your Vista Blue Skin too btw. Smile

Trying to change row line colour for table headers in CSS Exampl22
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Trying to change row line colour for table headers in CSS Empty Re: Trying to change row line colour for table headers in CSS

Post by Saurus July 17th 2008, 11:47 pm

Why can't you change it from the admin panel? looks like it's not grayed out or unavailable.

Try this...
Code:

td.row1, td.row2, td.row3, td.row3Right{color:  ;}
Enter the color code you want in the space.
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Trying to change row line colour for table headers in CSS Empty Re: Trying to change row line colour for table headers in CSS

Post by Brad38 July 18th 2008, 3:41 am

Hi Saurus,

Thanks for the suggestion and the reply....tried your code but it didn't work. I was told that with custom CSS's that the code in the stylesheet will overwrite anything in the Admin panel. Even though it looks like I should be able to change things in the Admin, I can't.
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Trying to change row line colour for table headers in CSS Empty Re: Trying to change row line colour for table headers in CSS

Post by Aloverssunset July 18th 2008, 3:59 am

I believe it is a hitskin issue. Maybe the creators of the hitskin do not want their styles changed?

I have tried for day's to change my theme but could not, I had to export the theme and pick a new style basic pro silver format, not a hitskin, to be able to change anything on it today, had to redo the whole thing... Oh well.

Sandra
Aloverssunset
Aloverssunset
Forumember

Female Posts : 256
Reputation : 13
Language : english
Location : Texas

http://abeautifullife2c.forumotion.com/index.htm

Back to top Go down

Trying to change row line colour for table headers in CSS Empty Re: Trying to change row line colour for table headers in CSS

Post by Brad38 July 18th 2008, 4:09 am

Hi Sandra...

Thanks for your reply. You CAN change some elements with Hitskins, minor things like colours, text, buttons etc., it's just a matter of getting the right code to input into the CSS stylesheet. Buttons however are still able to be changed in the Admin panel with a Hitskin.
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Trying to change row line colour for table headers in CSS Empty Re: Trying to change row line colour for table headers in CSS

Post by Saurus July 18th 2008, 5:30 am

Nobody said anything before about using a different skin. The codes I supplied are the correct parameters for phpBB2. Supply a link to your forum and I'll see if I can find the element for that skin.
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Trying to change row line colour for table headers in CSS Empty Re: Trying to change row line colour for table headers in CSS

Post by Brad38 July 18th 2008, 6:12 am

Saurus wrote:Nobody said anything before about using a different skin. The codes I supplied are the correct parameters for phpBB2. Supply a link to your forum and I'll see if I can find the element for that skin.

Hi Saurus...I'm using phpBB3 and I entered the code you gave me exactly, substituting the colour code I wanted but it was a no-go.
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Trying to change row line colour for table headers in CSS Empty Re: Trying to change row line colour for table headers in CSS

Post by Saurus July 18th 2008, 6:17 am

Brad38 wrote:
Saurus wrote:Nobody said anything before about using a different skin. The codes I supplied are the correct parameters for phpBB2. Supply a link to your forum and I'll see if I can find the element for that skin.

Hi Saurus...I'm using phpBB3 and I entered the code you gave me exactly, substituting the colour code I wanted but it was a no-go.

phpBB2 and phpBB3 are different. If you want me to take a look for a better code I need a link.
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Trying to change row line colour for table headers in CSS Empty Re: Trying to change row line colour for table headers in CSS

Post by Jalokim July 18th 2008, 11:40 am

lol... this took me a while to find....
Code:
}
li.row {
border-top: 1px solid #ffffff;
border-bottom: 1px solid #ffffff;
}

find this code and replace the #ffffff with whatever color you need.
you can also change the size of the border and you can change the top and bottom borders how you want.

this CSS is from my crystal case theme so on your CSS is won't be #ffffff
hope this helps
Jalokim
Jalokim
Energetic

Male Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland

Back to top Go down

Trying to change row line colour for table headers in CSS Empty Re: Trying to change row line colour for table headers in CSS

Post by Brad38 July 18th 2008, 6:39 pm

Hello Jalokim...this worked perfectly, thanks very much. Smile
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Back to top

- Similar topics

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