This topic has 19 replies, 2 voices, and was last updated 7 years by Laura.

  • Author
  • #210246
     melikcan
    Participant

    I want to hide a button from members but not from guests,  how can ı do this, my button ıs on elementor. Thanks, best regards!

    #210267
     Laura
    Moderator

    Hello, can you specify which one?

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

    ı have screenshooted, it is a huge botton cover half of page to redirect people regıster page, ı want to hıde thıs button for already member people.

    #210361
     Laura
    Moderator

    Hello, i checked, that image is part of the header image right?
    if you had it in a separated element i could send you a css code to hide it for logged in users

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

    yes it is 🙂 ı have added button via elementor, how can add css on elementor button?
    Tanks, best regards !

    #210393
     Laura
    Moderator

    Hello, i get connection time out when trying to access your website now, is everything ok for you?

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

    there was a problem with hosting firm, it is ok now .

    #210506
     Laura
    Moderator

    Try by adding this to style.css of child theme:

    COPY CODE
    
    .logged-in a.elementor-button-link.elementor-button.elementor-size-xl {
        display: none !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #210507
     melikcan
    Participant

    Thank you very much! Actually I used a redirect plug ın to redırect logged in people to members page(if they click to button). And guests redirect to regıster button via same button. But it didint work for redirect by plugin (logged in members to members page) so ı had to cancel the button and ı havre requested it from you, thanks it has worked, but if you can say a simmilar css code for same button to redirect logged in members to members page,ı wont have to delelte the button for logged in members.

    So, is there a redirecting to ‘logged-in’ members to members searching page veersion of the code you have shared to redirect logged in members to members searching page if they click? like this code bellow to redirect?


    .logged-in a.elementor-button-link.elementor-button.elementor-size-xl {
    display: none !important;
    }
    ”” Thanks best regards !

    #210638
     Laura
    Moderator

    Hello, css can’t redirect so I can create that for you, only a plugin could

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

    Ok, I see, I have tried more than 3,4 plug in any of them didint work somehow. Do you suggest any plugin for this (ihave tried Peters etc) . Others dont have logged in options etc . Do you suggest any plugin ?
    Thanks!

    #210759
     Laura
    Moderator

    Hello, make sure to change the redirect option of the theme when testing a plugin as it could prevent it from working, have you tried?

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

    İ havent tried it, why there is such an option if ı disable will it cause problem ? Thanks! How I will change it?

    #210915
     Laura
    Moderator

    Hello, at Sweetdate – Misc you will find it :))

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

    It is already in default wordpress rediect section.

    #211010
     Laura
    Moderator

    Hello,and if you change it does it work?

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

    Still dont work 🙁

    #211051
     Laura
    Moderator

    Hello, i see, well let me try a few options myself to see if i can get this to work 🙂 Can you share admin user?

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

    znlexport123

    tecnost!123456
    thanks 🙂

    ı want to redirect the button to members page for logged in users, the button now redirect guests to register page, so when a logged ın member clıck to the button redirect to register page, so ı want to members, redirected to resgister page, to be redirected to members page as solution.thanks.

    #211126
     Laura
    Moderator

    Hello, i see, so you do not want a login redirection but a button redirection, add another button below it at elementor, you should see there are VISIBILITY settings, you can select it to be visible for guests, logged in or both

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 20 posts - 1 through 20 (of 20 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?