Passer la navigation

[Résolu] Archive pages template misbehaviour (again)

This support ticket is created Il y a 10 months, 2 weeks. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Ce sujet contient 1 voix et a 0 réponses.

Auteur
Publications
#2817996

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:

lien caché

but not here:

lien caché

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.