• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 29.04.20, 17:45
  • Opened by: Bastien Lefevre
  • Closed by: Fred
  • Closed on: 21.06.20, 23:04
  • Reason: Closed
  • Comment: Glad to help!

Ticket #17592 - "mon compte" submenu

Hi, I would like to know if I can change the different elements that are under the “Mon compte” (image attached)

If yes how can I do it ?

Thank you !

Attachments:

Capture d’écran 2020-04-29 à ... (200.5 KiB)

Comments

Fred 30 Apr 2020, 14:09

you can only hide them with CSS:

.pk_account ul > li:nth-child(2) {display:none}

where “2” is the number of link to hide

Bastien Lefevre 30 Apr 2020, 14:52

Ok thank you,

Where do I have to write this CSS ?

Fred 30 Apr 2020, 14:54

Theme Settings → Customer CSS

Bastien Lefevre 30 Apr 2020, 15:39

Okay if I put this code it doesn’t hide anything
I want to hide “bons de crédit” and “cheques de réduction” (image attached)
Thank you

Attachments:

Capture d’écran 2020-04-30 à ... (61.5 KiB)
Fred 01 May 2020, 13:02

please make sure you have disabled Smarty CSS cache in your performance settings or try to clear cache

Bastien Lefevre 04 May 2020, 09:15

Yes I have disabled Smarty CSS and cleared cache. But it still doesn’t working :/

Fred 04 May 2020, 10:34

Sorry, my fault. Here is correct code

.pk_myaccount ul > li:nth-child(2) {display:none}
Bastien Lefevre 04 May 2020, 11:11

I don’t understand why it’s not working

Fred 04 May 2020, 11:30

it works for me https://take.ms/HnNbd

Bastien Lefevre 04 May 2020, 11:52

Oh yeah, you are on the B2C shop
I want it on the other shop too
(without the last item “mes bons de réductions”)

Bastien Lefevre 07 May 2020, 10:29

Have you found what’s wrong ?

Fred 07 May 2020, 13:36

I added the code and it just works https://take.ms/GARfc