Question
date of birth and date of death instead of anniversary
- mariannevanharten
-
Topic Author
- Offline
- Premium Member
-
Less
More
2 weeks 2 days ago - 2 weeks 2 days ago #116926
by mariannevanharten
date of birth and date of death instead of anniversary was created by mariannevanharten
In my CSS & JS module I have the following code:
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
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.
- kiwi
-
- Offline
- Platinum Member
-
2 weeks 2 days ago - 2 weeks 23 hours ago #116927
by kiwi
Nigel
www.our-families.info
Replied by kiwi on topic date of birth and date of death instead of anniversary
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(
to child(5) and child(9) should fix it in this case (although I’m not able to test it just now).
I think changing child(4) and child(
Nigel
www.our-families.info
Last edit: 2 weeks 23 hours ago by kiwi.
Please Log in or Create an account to join the conversation.
- mariannevanharten
-
Topic Author
- Offline
- Premium Member
-
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!
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.