- This topic has 7 replies, 2 voices, and was last updated 4 months, 4 weeks ago by Ying.
March 15, 2022 at 9:58 am #2155691Steven
We’ve run into this several times in the past and are unsure what’s causing it. It seems to happen to a single user, but we’re unsure it’s only limited to that user. When we publish news posts, the max-width is set to 800px. That’s what we’d like to see every time. However, once in a while that doesn’t appear to get applied and the max-width is left at 100% forMarch 15, 2022 at 3:38 pm #2155960YingStaffCustomer Support
The posts are set to full width.
You can check 2 places:
1. In this post editor, find the layout meta box, check if the content container is set to full width, if so, switch it back to default.
2. Go to appearance > elements, check if there’s a Layout element assigned to posts or more specifically posts of this author, if so, check if content container width is set to full width there.
Let me know 🙂March 15, 2022 at 3:48 pm #2155975Steven
The layout meta box is set to default on both news posts.
There are some layout elements, but none are set to trigger on a specific user.March 15, 2022 at 4:58 pm #2156018YingStaffCustomer Support
In the post, what elements does it show?
You can also try to set all of your layout element to draft to see if the issue goes away.March 15, 2022 at 5:13 pm #2156024Steven
Ah – good catch. There is one more element that’s active on the full-width news release that is absent on the fixed-width news release. We’re not sure why it’s being applied to this specific news release though. In the relevant element, the display rules are:
Event: All Events
Event Category Archive: All Event Categories
Venue: All Venues
Organizer: All Organizers
Event Tag: Choose…
Event Category: Choose…
Event Tag Archive: All Tags
In the list of elements, there is a difference in the last display rule which reads “Post Tag Archive” instead of “Event Tag Archive”. Not sure if those are supposed to match or not.
The intent of this element is to force all of our The Event Calendar Pro pages to full-width.
Wonder how it’s getting applied selectively to this particular news post.March 15, 2022 at 5:19 pm #2156026YingStaffCustomer Support
Can you try remove
Event Tag: Choose…and
Event Category: Choose…from the display rule?
As Tag is WP core taxonomy, so it would include posts which have tags set as well, I think that’s why it shows
Post tag archiveinstead of
Event page archive.
Just check, do these 2 posts have tags and other posts don’t?
Let me know 🙂March 16, 2022 at 9:27 am #2156939Steven
Excellent! We didn’t realize the Event Tag would include “Post Tag”. Once we removed that, the width was back to fixed 800px. The difference we didn’t spot between the two news posts was the full-width had a a value in the Tag field. We didn’t think to look there as we don’t train our staff to use that field. That’s why not did this issue seem to be linked to a specific user, but also why it was inconsistent for that user. They must not be using tags for all of their posts. Appreciate the help 😉March 16, 2022 at 10:06 am #2156986YingStaffCustomer Support
Glad we get this sorted 🙂
You are welcome!
- You must be logged in to reply to this topic.