Switcher: [woocommerce_my_account] / custom page

This topic has 8 replies, 3 voices, and was last updated 1 weeks, 6 days ago ago by Andrew Mitchell

  • 7 Answers
    Avatar: Kombajn88
    Kombajn88
    Participant
    April 14, 2024 at 21:58

    I will also add that I use this css code to display the custom version.

    .woocommerce-MyAccount-navigation {
    display:none;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    }

    The css affects the whole page so unfortunately [woocommerce_my_account] will look the same as custom my account.

    Is there anything that can be done about that too?

    Thank you in advance

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    April 15, 2024 at 08:57

    Hi @Kombajn88,

    Is it possible for the switch to display only on computers, allowing users to select custom page or [woocommerce_my_account].

    The problem is that I would like the switcher not to display on mobile devices (as it is marked on the bottom left), but only the [woocommerce_my_account] page.

    But if I hide the toggle on devices then the page will be blank.

    Is the only solution to make a separate page for mobile devices and computers and redirect them through code?

    Thank you in advance for your help

    It’s impossible now.

    But you can limit the custom CSS codes to affect on mobile version only:

    
    @media (max-width: 600px){
         .woocommerce-MyAccount-navigation {
              display:none;
         }
         .woocommerce-account .woocommerce-MyAccount-content {
              width: 100%;
         }
    }
    

    Hope it helps!

    Avatar: Kombajn88
    Kombajn88
    Participant
    April 15, 2024 at 14:25

    I did a little fiddling and bridged the effect as in the photo, I will try to improve it further.

    But that’s not the point.

    The switcher after clicking on one of the pages always switches to on – is it possible that the switcher after refreshing the page remains in the state as before f5?

    If it’s off then so that when you refresh the page it stays off too

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    April 15, 2024 at 15:37

    Hi @Kombajn88,

    Can you try with this custom CSS codes instead?

    
    
    .active .elementor-4972 .woocommerce-MyAccount-content {
         margin-left: 25%;
    }
    
    .active .elementor-4972 .woocommerce-MyAccount-navigation-wrapper.type-new {
         display: none;
    }
    

    https://www.awesomescreenshot.com/video/26737489?key=85246da2137e59237e0fcb85d6425601

    Best Regards,
    The 8Theme Team.

    Avatar: Kombajn88
    Kombajn88
    Participant
    April 15, 2024 at 20:18

    Thank you very much Luca, but I think I am forced to revert to a single page design my account (without switcher). As you wrote above it is probably impossible.

    Unfortunately, the switch settings do not remember, and also the display after the switch does not always work poprana (blank) – I attached a video.

    No less thank you very much! 🙂

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    April 16, 2024 at 04:57

    Hi @Kombajn88,

    Unfortunately, the switcher will not remember the setting for now.

    We would like to invite you to submit a request to our team through the following page: https://www.8theme.com/taskboard/ If the request receives enough votes from other customers, our development team will consider adding this to one of the upcoming updates.

    Best Regards,
    8Theme’s Team

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 16, 2024 at 08:52

    Dear Kombajn88,

    Choosing our theme reflects your commitment to quality, and for that, we’re genuinely grateful. As we constantly strive to elevate your experience, your feedback is an invaluable gift. Could you kindly take a moment to rate our product with 5 stars on ThemeForest?

    Click here to share your insights: https://themeforest.net/downloads

    Your support fuels our journey, and we appreciate it more than words can express.

    Best Regards,
    The 8Theme Team

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘Switcher: [woocommerce_my_account] / custom page’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.