I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

deposit template

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9507
    Anonymous
    Inactive

    At this time I play arround with your templates.
    Now i would like change your deposit template that it show the coinname before or after “deposit address”
    Do you can give me a hint like i can do that?

    Attachments:
    You must be logged in to view attached files.
    #9518
    alexg
    Keymaster

    Hello,

    To override the default templates, first read this blog post: https://www.dashed-slug.net/wallets-5-0-0/

    So in your case, you would want to copy to your theme the following file:

    https://github.com/dashed-slug/wallets/blob/5.0.12/templates/deposit.php

    You should place this file at:

    /wp-content/themes/{theme or child theme}/templates/wallets/deposit.php

    Then you can edit this file. Here’s some instructions:

    1. Try to not mess the knockout.js data bindings (‘data-bind’ attribute), unless you know what you’re doing.

    2. Try to preserve correct HTML markup.

    3. Shuffle things around to your liking.

    I’m not sure what your requirement is, but the name of the coin is shown under <label class="coin"> and the address is under <label class="address">. If you change the order of these things you can display them in a different order.

    You can also use CSS for this. The specificity of your CSS rules must overwrite the rules in:

    https://github.com/dashed-slug/wallets/blob/5.0.12/assets/styles/wallets.css

    Hope this helps. Please let me know if you have any more questions about this.

    with regards,
    Alex

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.