PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Styling Member Profile Modification

s2Member Plugin. A Membership plugin for WordPress®.

Styling Member Profile Modification

Postby gplatt » January 28th, 2011, 1:00 am

Hi,

I'm using the iframe to display the member profile modification into my page, but the styling is hard-coded into the iframe. Other than modifying the source file is there a way that I can style this code to make it more closely match my site?

I'd actually rather not use an iframe at all, but then modification page comes up with no styling at all and looks pretty primitive.

Any ideas?

Many thanks
Guy
User avatar
gplatt
Registered User
Registered User
 
Posts: 1
Joined: January 28, 2011

Re: Styling Member Profile Modification

Postby sruefer » April 28th, 2011, 1:21 am

I have the same problem... I tried to override the inline CSS with my external style sheet, but it did not work :(
Steffen Ruefer | Using s2member with Paypal (none Pro) & WP 3.2.1 | http://rufer-design.com/
User avatar
sruefer
Experienced User
Experienced User
 
Posts: 25
Joined: April 25, 2011
Location: Dubai, UAE

Re: Styling Member Profile Modification

Postby Cristián Lávaque » April 28th, 2011, 12:17 pm

Well, the form every field has an ID, and the styling they have is just the width. They are in an HTML table, though, so that will be limiting depending on how much you wanted to change it.

What do you want to change?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Styling Member Profile Modification

Postby sruefer » April 28th, 2011, 1:57 pm

I decided to leave it as it is for now, I used a javascript to enhance the form functionality a bit and I can live with the width of the input fields. I tried earlier to use the IDs to change the widths, as well as modifying the profile.inc.php (I know, that's bad practise), but none worked out. Anyway, for now it is ok.
Steffen Ruefer | Using s2member with Paypal (none Pro) & WP 3.2.1 | http://rufer-design.com/
User avatar
sruefer
Experienced User
Experienced User
 
Posts: 25
Joined: April 25, 2011
Location: Dubai, UAE

Re: Styling Member Profile Modification

Postby Cristián Lávaque » April 28th, 2011, 2:03 pm

Glad you found a way around it.

If it's about the form's width, you could try this:

Code: Select all
<div style="width: 750px;">
    [s2Member-Profile /]
</div>
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Styling Member Profile Modification

Postby sruefer » April 30th, 2011, 12:58 am

Cristian,
works like a charm, thanks. I should have thought about that myself when seeing the inline styling of php file ("width: 99%")... :)
Steffen Ruefer | Using s2member with Paypal (none Pro) & WP 3.2.1 | http://rufer-design.com/
User avatar
sruefer
Experienced User
Experienced User
 
Posts: 25
Joined: April 25, 2011
Location: Dubai, UAE

Re: Styling Member Profile Modification

Postby Cristián Lávaque » April 30th, 2011, 3:18 am

Great! I'm very glad it solved your problem. Thanks for reporting back. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron