WordPress.org

Ready to get started?Download WordPress

Forums

Register Plus Redux
[resolved] CSS and tabindex (6 posts)

  1. Geoff
    Member
    Posted 3 years ago #

    Is it possible to get rid of the css for the input boxes? I've already styled my input boxes across the site, but that gets overwritten by register-plus-redux for the custom fields so they don't match the default input boxes.

    Also, what's the easiest way to get rid of the tabindex that is inserted into each input box. username/pass then it skips down to captcha and submit, and I have to manually go back up, but then for some reason, the tabindex that register-plus-redux spits out goes from 25 to 31 and skips in between, thus throwing off the tab order again.

    I'd rather they not be on there, then it would tab in default order.

  2. radiok
    Member
    Plugin Author

    Posted 3 years ago #

    If you have already styled your CSS across the site, can't you just enter custom CSS into the registration page matching what you use elsewhere? I'm hesitant to remove my CSS because it is the CSS used by WordPress, however, I wonder if I could make my CSS a stylesheet, not inline, then it would be easier to circumvent. Failing that, I could make a checkbox to 'clear default style'. I'll look into one option or the other.

    I'm suprised you are having a problem with the tab index. They should incriment from 21 to however many fields you have. 20 is the index of the user email field, so mine just follow. I had to do this because when any other plugin adds a field with a tabindex, if mine have no index then it will skip past mine to the other plugins then loops back around. Of course the problem with that now, if that if the other plugin loads before mine it's fields might literally be before Redux's and now it's me breaking tab order. Regardless, the only solution I see is to create, yet another, option, to set the first tabindex for Redux fields. Default with be 21, and it won't allow you to put anything lower, but you could analyze your other fields and set it to something like, 50 if someother plugin is creating a field 40. Maybe I'll let you enter 0 too to create no tabindex's... yeah.

    OK so I'll add an option for tabindex and look into one solution or the other for CSS, long story, sorry, I just need to think these things through. I'll add both of these to the 3.7 roadmap, they are both simple so I can code them today.

  3. radiok
    Member
    Plugin Author

    Posted 3 years ago #

    Both of these features are in 3.6.20

  4. Geoff
    Member
    Posted 3 years ago #

    you rock!

  5. danifagan
    Member
    Posted 3 years ago #

    Hi there,
    I'm wondering why some of the fields using Redux have smaller input font sizes than others, if I leave the CSS field empty and am using your plugin CSS how come they're different? Thanks

  6. danifagan
    Member
    Posted 3 years ago #

    Found solution in previous thread thanks :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic