Home Forums WoodMart support forum Hide My Account sidebar from wishlist

Hide My Account sidebar from wishlist

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #307971

    fjagsantos
    Participant

    Hi, is it possible to remove the “my account” sidebar from the wishlist page?

    #307976

    Hello,

    You can create a header without “My account” element and assign this header for the Wishlist page or you can configure My account as a link in this header: https://xtemos.com/docs/woodmart/header-builder/set-different-header-specific-page/

    If you have any questions please feel free to contact us.

    Best Regards

    #307983

    fjagsantos
    Participant

    Hi!

    I guess I did not explain myself clearly. It has nothing to do with the header.
    I want to remove the sidebar that comes has default with the wishlist, and make the wishlist larger (100% width)
    Please see the pic attached for clarification

    Attachments:
    You must be logged in to view attached files.
    #308049

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .wd-my-account-sidebar {
        display: none;
    }
    .woocommerce-MyAccount-content {
        flex: 1 0 100%;
        max-width: 100%;
        width: 100%;
    }

    Best Regards

    #308063

    fjagsantos
    Participant

    Thanks! This works, but it removes the sidebar for all the items of “My Account”. Is it possible to hide it only for the wishlist?

    #308091

    Hello,

    Please provide the site URL will correct CSS.

    Best Regards

    #308745

    fjagsantos
    Participant

    Website URL bellow

    #308761

    Hello,

    I cannot open your link. Please replace the code with this one:

    body.page-id-267 .wd-my-account-sidebar {
        display: none;
    }
    body.page-id-267  .woocommerce-MyAccount-content {
        flex: 1 0 100%;
        max-width: 100%;
        width: 100%;
    }

    Please replace 267 with the wishlist page ID on your site. You can find the ID in the editing mode of the page in the URL: https://gyazo.com/161093ffa59d241b3206d89047d2f7dd

    Best Regards

    #308763

    fjagsantos
    Participant

    Perfect!

    Thanks

    #308908

    You are welcome! We are here to help.

    Wish you a wonderful day!

    #312564

    fjagsantos
    Participant

    Hi, I’m trying to replicate this for Wishlist page translations (I’m using WPML). I’ve tried copy and pasting the code and changing the corresponding page ID for each translation but it’s not working the same way it works for the default language / page.

    #312708

    Hello,

    Whatever page I check I see 404 error. Where is the shop or product category page to test?

    Wishlist, Compare pages are translated in the same way as any other page.

    Please provide the site admin access to the private area.

    Best Regards

    #312726

    fjagsantos
    Participant

    Hi,

    That 404 error is very weird.. all pages are working as expected on my side.

    Regarding the wishlist translation, it started working on it’s own, so I guess it must be some kind of caching that does not apply the Custom CSS imediately. It is currently working for all my translations except one that I’ve just created recently.

    But since we are talking about 404 errors, let me add a second question to this topic. I’m using a custom 404 page, but I cannot set it’s slug to be “/404”.. it automatically adds a “-2” at the end. Can you please check? I’m sending the website admin access bellow.

    #312814

    Hello,

    When I entered the site I saw this: https://gyazo.com/4feeb97692c1f91f753f1c66a0f9c215

    When I have reset 404 page in the Theme Settings, the site has got its normal view: https://gyazo.com/f81a8a1f1f33a81b3c0a536a3d17fbc6

    Do not try to add the 404 slugs to the custom 404 pages. And check the page content, most likely you have errors in code and it crashes the whole site.

    All the strings from the Wishlist are translated in WPML > Strings Translation: https://gyazo.com/1bd5b2c218da808380b828b94272a628

    The pages are translated, as usual, the stings in the Strings Translation.

    If you have any questions please feel free to contact us.

    Best Regards

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