Elxis CMS Forum

Support => General => Topic started by: khaled on October 11, 2008, 21:09:44

Title: How to change color of radio buttons in a poll ?
Post by: khaled on October 11, 2008, 21:09:44
Hi again,

I am modifying the default (okto) template according to my own choice. Right now I am trying to change the color of the radio buttons of the polls but can't figure out how to do that.

Any help please ?
Title: Re: How to change color of radio buttons in a poll ?
Post by: kebic on October 11, 2008, 21:29:09
customize.css  ;)
Title: Re: How to change color of radio buttons in a poll ?
Post by: datahell on October 11, 2008, 22:57:17
I don't know if you can change the background colour or the radio boxes properly for all browsers. Radio boxes as well as check boxes are quite special and each browser renders them different. Test it.
Title: Re: How to change color of radio buttons in a poll ?
Post by: khaled on October 12, 2008, 05:54:46
Thank you for your replies.

customize.css  ;)

I did look at customize.css & layout.css but could find the place where to make the changes. (I found the 'poll' & 'vote' section in the customize.css but there are no pre-settings there for radio button colors. Probably I need to add new lines to the 'poll' section but I'm a newbie and can't do it myself  :-[

BTW, I am using firefox 3 and only concerned with this browser at the moment.
Title: Re: How to change color of radio buttons in a poll ?
Post by: LTdeveloper on October 17, 2008, 17:48:47
 Does anyone have same problem I have?  ??? :-\

 How to change color of radio buttons in a poll ?

I want to make transparent background, any ideas?
Title: Re: How to change color of radio buttons in a poll ?
Post by: LTdeveloper on October 17, 2008, 17:53:37
No need. kebic was right.

this is css code for transparent poll.
/* poll */
ul.polltable li.row0, ul.polltable li.sectiontableentry1 { background-color: transparent; }
ul.polltable li.row1, ul.polltable li.sectiontableentry2 { background-color: transparent; }
ul.polltable li.sectiontableentry1 a:link, ul.polltable li.sectiontableentry1 a:visited,
ul.polltable li.sectiontableentry2 a:link, ul.polltable li.sectiontableentry2 a:visited {
   color: #5F5F30;
   font-weight: bold;
   text-decoration:none;
}
ul.polltable li.sectiontableentry1 a:hover, ul.polltable li.sectiontableentry2 a:hover { color: #000; }

Title: Re: How to change color of radio buttons in a poll ?
Post by: Flash on October 18, 2008, 03:14:39
.button

the easy clas for a button. just make it hard
Title: Re: How to change color of radio buttons in a poll ?
Post by: LTdeveloper on October 18, 2008, 15:36:35
yea, ;D i don't see a word button. That code is for transparent background in poll, not for button. :) sorry my mistake.  ::)