I want to use a single template and have it alternate(reverse) rows. I didn’t see an option for multiple templates, so I presume I’ll have to do it in the CSS, but I can’t for the life of me remember what the CSS is to do it.
On top of this, can I use a single template for multiple categories and have it only show those categories? I can’t seem to see how to have it only show the posts from a specific category if I remove the term. Then it shows all the posts. Can it do that, or do I have to create 3 different templates one for each category. Ugh.
Thanks. I got the code, but I’m probably not putting in the nth line correctly, or in the right location. I’ve tried to add it in custom CSS settings, and directly on the element as a class, and in the elements CSS properties, but it doesn’t appear to work so I guess I’m probably doing something wrong. If I edit the page in Dev tools and add it manually, it works. This is on a query builder div that I’m trying to do this. Here’s some images…
If you want to put into settings custom CSS field. You just need to inspect the parent ID #brxe-xxxx or add a class to the parent then write like this.
@itchycode One more question on this if I may. How can I ‘remove’ the alternate at a specific break point. I’m wanting it to revert to a stacked view, but it appears to still be using reverse-row in the smaller breakpoints so it doesn’t look quite right and I’m not sure how to ‘not’ use that. I tried going to the smaller break point, and removing the class, but it removes it for the entire element at all breakpoints.
I am sorry that not familiar with that CSS class.
You could provide your URL in the reply and elaborate what or which part you wish to achieve.
We will assist.