Easy-digital-downloads: shortcode-login.php improvement proposal

Created on 29 Sep 2015  路  6Comments  路  Source: easydigitaldownloads/easy-digital-downloads

Hey Guys,

I noticed a few CSS conflicts with various themes like twenty twelve and the required and password classes used within the html. In twentytwelve and other themes it turns the text red. You get around this at checkout by specifying the text as black using edd-input alongside that class. I suggest either prefixing the classes like edd-password and edd-required or adding the edd-input class alongside. I think it would be preferable to prefix those classes.

prefix

I also noticed the legend tag is seemingly improperly wrapped in a span tag. Is there any specific reason for this?

9-29-2015 1-59-32 pm

priority-low scope-ui type-feature

Most helpful comment

In 2.6.5 the <span> will be removed from the <legends> with #4540

All 6 comments

I completely agree on the class, though we'll have to be careful about potential backwards compat there. Since it's a small class that is rarely styled directly, it's probably safe to change.

For the legends, see #3568

Good to know the legends is already on the radar. I agree, some themes may already have those classes styled, hopefully minorly only though.

I'm going to tag this for 2.6, same version as the legends issue is tagged for.

In 2.6.5 the <span> will be removed from the <legends> with #4540

When updating the required class, the JavaScript will also need updating as we reference the required class throughout the checkout JS

Merged into release/2.7

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidsherlock picture davidsherlock  路  5Comments

Ismail-elkorchi picture Ismail-elkorchi  路  3Comments

nabeghe picture nabeghe  路  5Comments

colomet picture colomet  路  4Comments

mikeyhoward1977 picture mikeyhoward1977  路  5Comments