Home › Forums › WoodMart support forum › Hide My Account sidebar from wishlist
Hide My Account sidebar from wishlist
- This topic has 13 replies, 2 voices, and was last updated 3 years, 6 months ago by
Elise Noromit.
-
AuthorPosts
-
July 21, 2021 at 10:26 pm #307971
fjagsantosParticipantHi, is it possible to remove the “my account” sidebar from the wishlist page?
July 21, 2021 at 11:13 pm #307976
Elise NoromitMemberHello,
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
July 21, 2021 at 11:20 pm #307983
fjagsantosParticipantHi!
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 clarificationAttachments:
You must be logged in to view attached files.July 22, 2021 at 8:21 am #308049
Elise NoromitMemberHello,
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
July 22, 2021 at 9:05 am #308063
fjagsantosParticipantThanks! This works, but it removes the sidebar for all the items of “My Account”. Is it possible to hide it only for the wishlist?
July 22, 2021 at 11:48 am #308091
Elise NoromitMemberHello,
Please provide the site URL will correct CSS.
Best Regards
July 26, 2021 at 11:07 am #308745
fjagsantosParticipantWebsite URL bellow
July 26, 2021 at 11:28 am #308761
Elise NoromitMemberHello,
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
July 26, 2021 at 11:31 am #308763
fjagsantosParticipantPerfect!
Thanks
July 26, 2021 at 10:29 pm #308908
Elise NoromitMemberYou are welcome! We are here to help.
Wish you a wonderful day!
August 14, 2021 at 11:01 am #312564
fjagsantosParticipantHi, 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.
August 16, 2021 at 7:12 am #312708
Elise NoromitMemberHello,
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
August 16, 2021 at 8:55 am #312726
fjagsantosParticipantHi,
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.
August 16, 2021 at 10:08 pm #312814
Elise NoromitMemberHello,
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
-
AuthorPosts
- You must be logged in to create new topics. Login / Register