Support » Plugin: PayPal Donation » Widget properties set as !important make it impossible to customize

  • Resolved setiron

    (@setiron)


    Apparently all the widget’s properties are unnecessarily set as !important, making it impossible to change the widget’s elements with CSS.

    Could you remove !important from the widget’s size properties?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Scott Paterson

    (@scottpaterson)

    Hi @setiron,

    I can definitely look into this, the reason why I initially did this was due to themes overriding the settings.

    Scott

    Hi Scott,

    Adding my +1 for this so that users can customize styling as needed in both the widget and shortcode. For example, may I suggest the following for the shortcode output?:

    // text description title
    	if ($wpedon_button_enable_name == "1" || $wpedon_button_enable_price == "1") {
    		$output .= "<label>";
    	}
    	
    	if ($wpedon_button_enable_name == "1") {
    		$output .= $name;
    	}
    	
    	if ($wpedon_button_enable_name == "1" && $wpedon_button_enable_price == "1") {
    		$output .= "<br /><span class='price'>";
    	}
    	
    	if ($wpedon_button_enable_price == "1") {
    		$output .= $amount ."</span>";
    	}
    	
    	if ($wpedon_button_enable_price == "1") {
    		if ($wpedon_button_enable_currency == "1") {
    			$output .= $currency;
    		}
    	}
    	
    	if ($wpedon_button_enable_name == "1" || $wpedon_button_enable_price == "1") {
    		$output .= "</label><br />";
    	}

    You might offer the option to place the currency sign before the price as well.

    Thanks so much. Plugin works really well otherwise.

    Plugin Author Scott Paterson

    (@scottpaterson)

    Just fixed this issue in version 1.2.8.

    I used your code @maxms, thank you!

    Wow. Thanks so much!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Widget properties set as !important make it impossible to customize’ is closed to new replies.