latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Apply CSS Styling to Pro Login Widget

Home Forums Community Forum Apply CSS Styling to Pro Login Widget

This topic contains 9 replies, has 4 voices. Last updated by  Eduan 4 years, 4 months ago.

Topic Author Topic
Posted: Saturday Aug 25th, 2012 at 12:28 am #23024
Mike Waller
Username: seozones

I’m using the Pro Login Widget on my wordpress page but my page is full width and the login fields stretch across the content area. I’m displaying the widget using the following php code:

Here is my url to my page: http://jsc.seozones1.com/apply/

I want to apply css to the form (and fields) so that the fields (and Submit button) don’t stretch across like it’s doing. What would I need to do to fix it and also tuck the form under the text on the left side. I also don’t want to use tables but divs and css techniques.

Any help is greatly appreciated, thanks.

  • This topic was modified 4 years, 4 months ago by  Eduan. Reason: Moved to the customer support forums

List Of Topic Replies

Viewing 9 replies - 1 through 9 (of 9 total)
Author Replies
Author Replies
Posted: Saturday Aug 25th, 2012 at 10:37 am #23054
Mike Waller
Username: seozones

I figured it out, thanks.

Posted: Saturday Aug 25th, 2012 at 3:16 pm #23075
Eduan
Username: Eduan
Moderator

Hello Mike,

Glad you were able to solve your problem. :) Also, thanks for the update.

If you don’t mind, what fix did you apply for this?

Posted: Saturday Aug 25th, 2012 at 3:25 pm #23079
Mike Waller
Username: seozones

I just added width:250px; to the div style tag, so…

Posted: Saturday Aug 25th, 2012 at 3:37 pm #23082
Eduan
Username: Eduan
Moderator

Oh OK, thanks! I’m sure this will help other site owners. ;)

Posted: Wednesday Aug 29th, 2012 at 3:09 pm #23444
Mike Waller
Username: seozones

How would make changes to the styling on the button and form fields in css? I tried the following to my theme css file but it doesn’t work:

div.ws-plugin–s2member-pro-login-widget {
background: #FF0000;
}

  • This reply was modified 4 years, 4 months ago by  Mike Waller.
Posted: Thursday Aug 30th, 2012 at 7:51 am #23560

You have to use the selectors for those. For example, the submit button’s I think would be:

[hilite pre_code]
.ws-plugin--s2member-pro-login-widget-submit input {background-color: red;}
[/hilite]
Posted: Friday Aug 31st, 2012 at 6:37 pm #23750
Mike Waller
Username: seozones

Okay, this worked on that:

div.ws-plugin–s2member-pro-login-widget-submit input {
background-color: #734C29;
color: #F0D7C6;
border-color: #deba9d;
}

However, how would I change the color on the title Login? on this page: http://jsc.seozones1.com/apply/

Posted: Saturday Sep 1st, 2012 at 4:28 am #23762

Hi !

I have the same problem but I can’t wind where to insert the code ” width:250px”

Can you help me please ? I am launching my website on monday :/

Thank You !!

Have a nice day,

Sarah

Posted: Saturday Sep 1st, 2012 at 8:50 am #23783
Eduan
Username: Eduan
Moderator

Hello Sarah,

You would add that to the style attribute that the button would have. I suggest you learn a little bit about CSS so you can achieve this correctly: http://w3schools.com/css/default.asp

Hope this helps. :)

Viewing 9 replies - 1 through 9 (of 9 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.