User Profile Photo | Remove "Remove"

    • 201 posts
    October 13, 2020 3:59 PM EDT

    Hello,

    I am a bit stumped - wondering if anyone has an idea how to accomplish.

    SEPHP 4.10.3p4

    SEAO Allure Theme & Profile Cover Plugin (socialapps.tech)

    I am attempting to remove the user photo "Remove" link from the drop down menu on a users profile image.

    This is the inspect code:

    <a href="/user/profilepage/remove-cover-photo/user_id/2/special/profile" class="smoothbox seaocore_profile_cover_icon_photo_delete">Remove</a>

     

    • Moderator
    • 6368 posts
    October 14, 2020 5:13 AM EDT

    If it isn't a menu that you can disable in the menu editor, perhaps try removing it with CSS display:none. Though, it might serve an important function so you may want to ask the dev.

    • 201 posts
    October 14, 2020 1:50 PM EDT

    Thanks @donna

    Unable to locate a menu for this.

    I have tried the display none - it works in the inspector when I add it to the element.

    Unfortunately not working when I add the custom CSS. 

    Even after dev & pro mode switches.

    • 333 posts
    October 15, 2020 1:00 AM EDT

    Hi Miami

    Please send an email at support@socialapps.tech for this requirement, our support team will help you out with this. 

    Thanks!

    • 201 posts
    October 16, 2020 9:53 AM EDT

    Thanks @SocialApps I will do that thanks so much. 

    Just as an FYI I tried below but only worked on mobile not desktop.

    This change is intended to prevent a user from removing the required avatar on sign up after login.

    I can't seem to find any other way.

    #siteusercoverphoto_main_options > ul > li > ul > li:nth-child(3){ 
        display: none;
    }

    This post was edited by Miami Shade at October 16, 2020 9:56 AM EDT
    • 333 posts
    October 19, 2020 6:01 AM EDT

    Hi Miami

    Request you to please send an email here: support@socialapps.tech Our support team will get the needful done. 

    Thanks!