Home › Forums › Support › Change order in grid using google optimize This topic has 5 replies, 2 voices, and was last updated 5 months, 2 weeks ago by Fernando. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts October 13, 2022 at 12:35 pm #2372720 Anders Nielsen Hi there How can I change the order in the grid – so I can A/B test the order of the containers? Video in private section. October 13, 2022 at 5:32 pm #2372857 Fernando Customer Support Hi Anders, Can you provide the link to the page in question? Moreover, are you able to add CSS in you A/B testing tool or it’s just HTML? If it’s just HTML, we’ll need to add a style attribute to the Container for the order. Let us know. October 13, 2022 at 9:54 pm #2372976 Anders Nielsen Hi there Yes I am able to add css, and/or HTML Link provided 🙂 October 13, 2022 at 10:05 pm #2372980 Fernando Customer Support I see. If you’re able to add CSS for each A/B test, try adding this: @media (max-width: 768px) { .gb-grid-wrapper.gb-grid-wrapper-d9a49627 > .gb-grid-column:nth-of-type(1) { order: -1; } .gb-grid-wrapper.gb-grid-wrapper-d9a49627 > .gb-grid-column:nth-of-type(2) { order: 1; } } Just change the order value for the other test so the order is changed. October 13, 2022 at 10:41 pm #2372996 Anders Nielsen Fantastic – it works. What is the tablet max-width? October 13, 2022 at 11:25 pm #2373018 Fernando Customer Support I see. Replace 768 with 1024 so that it applies for Tablet view as well. Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In