Posted: August 19, 2013 at 9:34 am
|
Hello EE support folk. I’m working through some quirks that have cropped up thanks to a new theme installed this weekend. Last year I was given some CSS to add to my custom CSS that would make the Register link more button-y. I’ve added that CSS back after the theme upgrade, but it doesn’t seem to be working quite right. :-/ The CSS elements I’ve updated are a.a_register_link, a.a_register_link:hover, and a.a_register_link:active These changes work on the event list (http://www.climbcrux.org/events/) but don’t work fully anywhere else. When I say fully, the Register Button / Link on the event post (http://www.climbcrux.org/2013/07/mole-mo-lay-mondays-climb-and-eat-3/) looks proper when hovered over, but not normally. And the submit button on the actual registration page (http://www.climbcrux.org/event-registration/?ee=191) is totally unaffected by anything I do. Right now the CSS is back to the EE themeroller default (I’m using flick) but if necessary, I can add the CSS back so you guys can see better what I’m talking about. I’m *trying* to get this all done through custom CSS so I don’t have to change any EE related files. As always, I **greatly** appreciate your help and support!! |
|
Okay, I was wrong. I do have CSS for a.a_register_link — <pre class=”brush: css; gutter: true; first-line: 1; highlight: []; html-script: false”> a.a_register_link:hover { a.a_register_link:active { |
|
Mike, When you changed the CSS did you clear your cache before viewing it? It looks like you have some form of cacheing system in place. If that isn’t an issue, then yes it would be great if you could revert so we can take a look for you. Also we can’t access the registration page without being logged in. |
|
Hi Dean… I did clear the cache. I’ll paste the CSS I’m using now down below and will send the login credentials through the credential page as well. What I’m seeing is this: 2 – Event Page — http://www.climbcrux.org/event-registration/?ee=186 — the “Submit” button isn’t following the CSS style at all; different colors, different everything. When you hover, the button turns white which makes “Submit” impossible to see… granted, by then you know you’re clicking submit, but still odd. 3 – Event List — http://www.climbcrux.org/events/ — The “Register” button is not a blue I’ve chosen in the CSS (below) but is blue… but when you hover over the button, *then* it does show the hover button color — 00a5e6 CSS: /* a.a_register_link { a.a_register_link:hover { a.a_register_link :active { |
|
1. The flashing is coming from this rule: a.a_register_link:hover { border-top-color: #00a5e6; background: #00a5e6; color: #fff; } when I disable the background in that rule, the flashing stops. |
|
Thanks Sidney, that did indeed fix the flashing issue. Woohoo! I’ll send you credentials as well to log in as me. Incidentally, I’ve sent the credentials to Josh & Dean (Dean for this issue already). |
|
Hi, The following code should sort out the submit button size. Regarding the colour, if you notice in the code below i have added !important after the tags, if you do the same for the code you pasted for the a.a_register_link code you posted, your gradient effect will kick in. input[type="submit"] { border-top: 1px solid #737b7d; background: #37b8eb; background: -webkit-gradient(linear,left top,left bottom,from(#00a5e6),to(#37b8eb)) !important; background: -webkit-linear-gradient(top,#00a5e6,#37b8eb) !important; background: -moz-linear-gradient(top,#00a5e6,#37b8eb) !important; background: -ms-linear-gradient(top,#00a5e6,#37b8eb) !important; background: -o-linear-gradient(top,#00a5e6,#37b8eb) !important; padding: 0 4px 0 4px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0; -moz-box-shadow: rgba(0,0,0,1) 0 1px 0; box-shadow: rgba(0,0,0,1) 0 1px 0; text-shadow: rgba(0,0,0,.4) 0 1px 0; color: white; font-size: 14px; font-family: 'Lucida Grande', Helvetica, Arial, Sans-Serif; text-decoration: none; vertical-align: middle; } input[type="submit"]:hover { border-top-color: #00a5e6; background: #00a5e6; color: #ffffff; } input[type="submit"]:active { border-top-color: #00a5e6; background: #00a5e6; } |
|
You rock, Dean! Thanks for this, it cleaned everything up perfectly!! |
The support post ‘Changing Color of Register & Submit Buttons’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.