Statistics: Posted by Cristián Lávaque — December 3rd, 2011, 11:23 pm
<?php
add_action ("login_head", "my_custom_css");
function my_custom_css ()
{
echo '<style type="text/css">';
echo 'label.ws-plugin--s2member-custom-reg-field-op-l:after { content:""; display:inline-block; clear:both; font-size:14px !important; color:#000000; width:140px;}';
echo '</style>';
}
?>
Statistics: Posted by banta — December 1st, 2011, 5:16 am
<?php
add_action ("login_head", "my_custom_css");
function my_custom_css ()
{
echo '<style type="text/css">';
echo 'label.ws-plugin--s2member-custom-reg-field-op-l:after { content:""; display:block; clear:both; }';
echo '</style>';
}
?>
Statistics: Posted by Jason Caldwell — November 30th, 2011, 4:07 pm
Statistics: Posted by Cristián Lávaque — November 25th, 2011, 2:50 am
Statistics: Posted by banta — November 21st, 2011, 8:51 am
FAQs wrote:
How can I prevent s2Member Pro from loading it's default CSS?
You can create this directory and file: /wp-content/mu-plugins/s2-hacks.php
- Code:
<?php
add_action ("ws_plugin__s2member_after_loaded", "remove_s2_pro_css");
function remove_s2_pro_css ()
{
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_css_js::css");
}
?>
Or, you could remove only specific action Hooks; based on Payment Gateway.
- Code:
<?php
add_action ("ws_plugin__s2member_after_loaded", "remove_s2_pro_css");
function remove_s2_pro_css ()
{
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_alipay_css_js::alipay_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_authnet_css_js::authnet_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_ccbill_css_js::ccbill_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_clickbank_css_js::clickbank_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_google_css_js::google_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_paypal_css_js::paypal_css");
}
?>
Statistics: Posted by Cristián Lávaque — November 19th, 2011, 3:01 am
<input id="ws-plugin--s2member-custom-reg-field-skillset-0" class="ws-plugin--s2member-custom-reg-field skillset" type="checkbox" tabindex="76" aria-required="true" name="ws_plugin__s2member_custom_reg_field_skillset[]" value="Coding">
<label class="ws-plugin--s2member-custom-reg-field-op-l" style="display:inline !important; margin:0 !important;" for="ws-plugin--s2member-custom-reg-field-skillset-0">Coding</label>
Statistics: Posted by banta — November 17th, 2011, 9:35 am
Statistics: Posted by Cristián Lávaque — September 16th, 2011, 4:31 pm
Statistics: Posted by cexpert — September 12th, 2011, 10:29 am
Statistics: Posted by retrieverbeliever — January 20th, 2011, 9:17 pm