how to override s2member.css?
Posted: August 24th, 2011, 5:32 am
Hi,
I'm wanting to edit the css of the grey return page after paypal, and have found /wp-content/plugins/s2member/includes/s2member.css, which appears to control body.s2member-return-body etc.
A note in that css file says
As it's the body element, there's no way I can see to trump it, and any edits to the original s2member.css, would obviously be overwritten when I upgrade.
I saw this thread but don't completely understand Jason's suggestion here:
I can view the CSS that way, but it's a one-line file, which is almost entirely impenetrable when copied and pasted into a text editor; also, even if I did edit it, I'm not sure where to put it..
Any suggestions very welcome!
Thanks
-sam
I'm wanting to edit the css of the grey return page after paypal, and have found /wp-content/plugins/s2member/includes/s2member.css, which appears to control body.s2member-return-body etc.
A note in that css file says
- however, adding an alternative style in /style.css of my child theme doesn't appear to make any difference at all."These are basic CSS rules. You can override any of these through the `/style.css` file for your WordPress® theme."
As it's the body element, there's no way I can see to trump it, and any edits to the original s2member.css, would obviously be overwritten when I upgrade.
I saw this thread but don't completely understand Jason's suggestion here:
The easiest way to recreate and/or override s2Member's CSS, is to load up your site with s2Member's default CSS file, as it is created dynamically, based on your configuration of s2Member. Then download the whole file by loading up: http://yoursite.com/?ws_plugin__s2member_css=1
I can view the CSS that way, but it's a one-line file, which is almost entirely impenetrable when copied and pasted into a text editor; also, even if I did edit it, I'm not sure where to put it..
Any suggestions very welcome!
Thanks
-sam