On my website, I have a taxonomy where I use slightly different elements, depending on whether it's for the parent taxonomy or child taxonomy pages.
I use conditionals to display/hide some elements. However, some elements are common and they use the same CSS classes. However, I'm having issues now with these pages. I am trying to apply CSS changes to common elements (to all taxonomy pages), regardless of being parent or child and these should get the same styling, but they behave differently or do not respond at all.
The issue is with a heading before the loop. I want to centre the element, and it works on the child pages, but not on the parent pages. I need to send you the details of the website via private section, because it's under password protection for privacy reasons.
Working here:
hidden link
but not here:
hidden link
This is with the theme Generatepress. I've tried to change the GP settings and checked the conditionals and I can't find the problem.
Can you help with this?
Thanks.