Home Forums WoodMart support forum Presets – User Role Equals > Anonymous (not logged in) – settings not working

Presets – User Role Equals > Anonymous (not logged in) – settings not working

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #444060

    maltgeorge
    Participant

    Anyone else got this?

    I have set a preset with condition:

    User Role > Equals > Anonymous(user not logged in)

    I have then set a different header to the default and have removed sticky navigation.

    The default header still shows as does the sticky navigation.

    I have troubleshot by deactivating plugins and have tested on a clean install with only Woodmart theme, Core and Woocommerce installed and even then no changes take effect with a preset created with User Role > Anonymous.

    #444226

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Sorry to say but your provided WP-ADMIN Login details aren’t working. Can you please share valid WP-ADMIN Login details of your Site so that we can proceed further and check the issue on your Site and assist you accordingly.

    Also, please share some Screenshots of the mentioned issue too for better understanding.

    Best Regards

    #444264

    maltgeorge
    Participant

    Apologies for that, I have double checked them this time.

    Screen recording supplied in Private content.

    As you will see I have a header set for logged in and out users, and making use of the sticky sidebar navigation for when users are logged in.

    When users are logged out they should see a different header and no sticky sidebar but they see the same as logged in users, except that the menu in the sidebar does not show.

    I think the sidebar not showing may be down to a plugin conflict as it works on the clean install I did, but I haven’t been able to find the conflict yet as even deactivating every plugin makes no difference.

    Thanks.

    #444281

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Ok, so after reading out your concern we have checked and confirmed this concern on our Test Site by importing the Mega Electronics Demo there > then creating a separate Preset for Logged Out users like you have done > selected a different Header and remove the Sticky Navigation and its Title > and then check the Site without Logged In > the changes were taking place correctly. Please see the following Video for reference in this regard: https://www.veed.io/view/c013d04a-124a-4355-8d22-28c2b82297d8

    On your Site, could you please once try deactivating all the third party Plugins on your Site, remaining the Theme required ones activated. If the issue gets resolved, then reactivate them one by one to see which Plugin is causing the issue. If this doesn’t work for you then once also, try to activate the Parent Theme on your Site if you are using Child Theme on your Site.

    If somehow the issue still persists, then please take complete Backup of your Site first, then provide us the WP-ADMIN Login details of your Site in the Private Content field along with the permission to completely debug your Site which includes deactivating all the third party Plugins and removal of on-Site Customization changes too, so that we can thoroughly check this issue on your Site and assist you accordingly.

    Best Regards

    #444350

    maltgeorge
    Participant

    Hello

    I did not install the mega electronics demo, but I don’t think that is particularly relevant.

    I already did that troubleshooting before raising the issue and I have done it again with no change:

    I have tried deactivating all 3rd party plugins
    A new install

    The problem is that it will not recognise a user being logged out. It will recognise other user roles and presets will take effect when user role is set to one of the 6 usual default roles. Though I have found that the header will not change to the header I assign, it goes to a default woodmart template header that is not even in my list of headers.

    If using a fresh install I can get the sticky header menu to show when logged in, where as on my live install there is just an empty white space where the menu should be, I have tried deactivating all plugins and changing php etc but nothing makes a difference.

    It is all rather confusing, I would like to have the sticky sidebar working when a user is logged out, but I am also happy to simply hide it, but it does not seem possible.
    Can you provide a way to hide this sticky sidebar when users are logged out, I’d be much appreciative.

    Thank You

    #444714

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Firstly, under the Theme Preset settings right now it doesn’t have the condition available for the Logged Out Users. The Development Department has mentioned that they will consider it for future Theme Updates. So, the mentioned change that you ask wasn’t possible to do directly regarding the Sticky Navigation hiding.

    So, we have done an alternative solution in this regard which is correctly working right now on your Site. We have applied the following Custom CSS on your Site:

    .logged-in.wd-sticky-nav-enabled {
        margin-left: 60px !important;
    }
    
    .wd-sticky-nav-enabled {
        margin-left: 0 !important;
    }

    Using this CSS, the Sticky Navigation was hidden for all and only previews for Logged In Users like they way you mentioned.

    Location to find Custom CSS, go to Dashboard >> Theme Settings >> Custom CSS >> Global CSS section >> there you can find the CSS pasted.

    Please check back your Site after completely clearing the browser and server cache.

    Best Regards

    #444782

    maltgeorge
    Participant

    Hi
    Thank you for taking a look and for this css.

    It did not completely fix the issue as it does not account for the sticky header and when using elementor (especially full width) the page content moves across to the right leaving a big white space where the sticky sidebar nav would be.

    But your css most certainly helped a lot and put me on the right track to finding a more complete solution, I also added this css and now everything looks to be working well.


    @media
    (min-width: 1025px) {
    body:not(.logged-in) .wd-sticky-nav-enabled:not([class*=”wrapper-boxed”]) .whb-header.whb-sticky-real.whb-sticked .whb-main-header {
    margin-left: 0px!important;
    }
    }
    body:not(.logged-in) [class*=”wd-section-stretch”] {
    width: 100vw!important;
    margin-left: -30px;
    margin-bottom: -42px;
    }

    Thank you for your time and assistance it is much appreciated.

    #444893

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    You are Most Welcome.

    We are glad that you managed to solve the problem yourself. You are Great!!!

    Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.

    Have a wonderful day.

    Topic Closed.
    Best Regards.

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

The topic ‘Presets – User Role Equals > Anonymous (not logged in) – settings not working’ is closed to new replies.