Styling terms text

Discussion in 'Troubleshooting' started by borise, Apr 17, 2013.

  1. borise

    borise Member

    Joined:
    Jan 3, 2013
    Messages:
    42
    Hey Alex,

    While styling the form layout, there is NO WAY to edit the terms text besides assigning a style to .am-form div.element. However, assigning a style to .am-form div.element affects other content on sign up/renew form.

    Styling would be so much easier if the terms text is assigned to it's own div or span, i.e.
    <span class="terms">s%</span>

    Do you know what code I would need to alter in /library/Am/TermsText.php to assign the terms text to it's own span or div? I'm assuming the mentioned file is where the output for terms text is generated:

    PHP:
    return preg_replace('/[ ]+/'' '$ret);
    Can you help out?

    Thanks a lot man!

    I've added this to Improvements: http://bt.amember.com/issues/1187
  2. borise

    borise Member

    Joined:
    Jan 3, 2013
    Messages:
    42
    I see Andrey has fixed the issue for 4.2.16. Wow, you guys are fast :D

    However, can you already share the code? I need to style away :) Thanks!!!
  3. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,274
    Borise,
    New version will be released on Monday or Tuesday next week. So I recommend to wait for release. That modification was done in four files and there can be other modifications which doesn't exists in your version yet.
  4. borise

    borise Member

    Joined:
    Jan 3, 2013
    Messages:
    42
    Good, awaiting the new version :D
  5. borise

    borise Member

    Joined:
    Jan 3, 2013
    Messages:
    42
    Hey Alexander,

    is 4.2.16 getting released today? Or is the release delayed for some reason?

    Thanks.

Share This Page