WordPress.org

Ready to get started?Download WordPress

Forums

s2Member Framework (Member Roles, Capabilities, Membership, PayPal Members)
[resolved] [Plugin: s2Member ( Membership w/ PayPal® Integration ) also works w/ BuddyPress] How to remove lin (4 posts)

  1. martonic
    Member
    Posted 4 years ago #

    Hi - this is very very cool - thank you!

    Just one thing! We have a lot of payment options! We would like to have the description on one line, and the button on the next, then a line break, another description, etc.

    However, a blank line is appearing after the description (and above each button) no matter what we try (shortcode, form code, visual editor, html editor, even putting the code after the description with NO white space between them!).

    Any suggestions? We just want the buttons CLOSER to the descriptions!

    Thanks in advance!

    http://wordpress.org/extend/plugins/s2member/

  2. martonic
    Member
    Posted 4 years ago #

    P.S. viewing the source shows that the blank line is caused by a <br> tag that we are not putting in - either WordPress, or s2member is inserting this. Thanks again.

  3. martonic
    Member
    Posted 4 years ago #

    Putting <div class="nobr"> description\n button</div> works.

  4. martonic
    Member
    Posted 4 years ago #

    .nobr {
    margin: 10px 6px;
    }
    .nobr br {
    display:none;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags