Community Support Forums — WordPress® ( Users Helping Users ) — 2010-12-01T13:00:57-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=1235 2010-12-01T13:00:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1235&p=4927#p4927 <![CDATA[Re: Remove/Hide credit cards i don't want to accept (s2mPro)]]> Statistics: Posted by madsem — December 1st, 2010, 1:00 pm


]]>
2010-11-24T01:01:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1235&p=4861#p4861 <![CDATA[Re: Remove/Hide credit cards i don't want to accept (s2mPro)]]>
Permanent override of s2m css:
I found in the documentation that you can prevent s2m from loading its css, by adding this to your theme's functions.php:
Code:
remove_action ("ws_plugin__s2member_during_css", "ws_plugin__s2member_pro_css");

I then copied that css file, and created my own version in my theme's css folder, so i can use the s2m css as a base, but then customize, and it won't be lost if s2m is updated.

The only issue i had is that the s2m css has some php in it for the paths to images, which i couldn't quite understand how it was working, so i just removed it and used a hard path.

Statistics: Posted by toddz88 — November 24th, 2010, 1:01 am


]]>
2010-11-20T11:48:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1235&p=4822#p4822 <![CDATA[Re: Remove/Hide credit cards i don't want to accept (s2mPro)]]>
I had the same problem, and as a hack changed the fade level from 0.2 to 0 in the css for s2member. The cards no longer show.

label.s2member-pro-paypal-form-card-type-label.disabled {
opacity:0.0;
}

I lost the change when I updated s2member, and am not sue how to overide it as a child theme...

Jason: Any tips on overriding the plugin's css permanently?

Ric

Statistics: Posted by startasocialnetwork — November 20th, 2010, 11:48 am


]]>
2010-11-20T00:24:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1235&p=4817#p4817 <![CDATA[Remove/Hide credit cards i don't want to accept (s2mPro)]]>
I already removed them from the ShortCode, but all that did was disable the radio buttons, but they (and the credit card images) are still visible.. just faded (the usual presentation of a disabled element). The documentation implies that they should not appear at all.


Thanks!
Todd

Statistics: Posted by toddz88 — November 20th, 2010, 12:24 am


]]>