Web based family history software

file Question date of birth and date of death instead of anniversary

  • mariannevanharten
  • mariannevanharten's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 weeks 2 days ago - 2 weeks 2 days ago #116926 by mariannevanharten
In my CSS & JS module I have the following code:
Code:
<style> /* verberg kolommen met weergave gedenkdag */ .wt-table-individual tr > :nth-child(4), .wt-table-individual tr > :nth-child(8) { display: none; } </style>

Nevertheless, in my search results I see columns with anniversaries (birth and death).
Instead of these facts I like to see the dates of birth and death.

What do I have to modify in the mentioned code?

Best regards,
Marianne
Last edit: 2 weeks 2 days ago by mariannevanharten.

Please Log in or Create an account to join the conversation.

More
2 weeks 2 days ago - 2 weeks 23 hours ago #116927 by kiwi
The css needs to be displayed to the correct columns, counted including any that are NOT normally displayed. That table has a number of those, for various reasons. 

I think changing child(4) and child(8) to child(5) and child(9) should fix it in this case (although I’m not able to test it just now). 
Last edit: 2 weeks 23 hours ago by kiwi.

Please Log in or Create an account to join the conversation.

  • mariannevanharten
  • mariannevanharten's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 weeks 2 days ago #116928 by mariannevanharten
Replied by mariannevanharten on topic date of birth and date of death instead of anniversary
While trying to find a solution myself, I commented the original lines .wt-table.... and found I should hide columns 4 and 8, so I don't understand why the columns to hide should be 5 and 9.

Nevertheless I edited the CSS according to your directions, and voila..., it works!
Thank you very much!

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum