This topic has 3 replies, 2 voices, and was last updated 10 years by Abe.

  • Author
  • #14291
     mckown
    Participant

    When changing an avatar — the page reload kicks the user back to top of page after upload. I’m thinking this is more of a design flaw in buddypress itself, however .. is there any way to auto-scroll the user back down to the crop area on reload with an id attribute or something?

    Just to prevent people from navigating away before cropping and then wonder why it didn’t work.

    #14640
     Abe
    Keymaster

    Hi, That is handled by Buddypress yes but you could edit wp-content\themes\kleo\buddypress\members\single\profile\change-avatar.phpand instead of form action=”” try putting
    <form action="<?php echo bp_get_loggedin_user_link(); ?>profile/change-avatar#item-nav"

    We’ll be adding this in next theme version 😉

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #14735
     mckown
    Participant

    works awesome 🙂

    #14736
     Abe
    Keymaster

    Great 😉

    Topic closed

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Auto-Scroll down to crop avatar’ is closed to new replies.

Log in with your credentials

Forgot your details?