ADSDEV-2714: dotcom UI header search ad slot anchor#1206
Merged
apaleslimghost merged 8 commits intomainfrom Mar 18, 2026
Merged
ADSDEV-2714: dotcom UI header search ad slot anchor#1206apaleslimghost merged 8 commits intomainfrom
apaleslimghost merged 8 commits intomainfrom
Conversation
added 7 commits
March 11, 2026 14:32
…sure it works whether the form is wrapped or not
sami-ft
commented
Mar 12, 2026
| // Grid layout on large sizes to create right hand rail for widget anchor | ||
| @include oGridRespondTo('L') { | ||
| .o-header__search .o-header__container { | ||
| max-width: none; |
Author
apaleslimghost
approved these changes
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Context
We’ve sold an ad space at the right side of the search widget on ft.com and we need a stable right-side slot in
dotcom-ui-headersearch for external widgets/adsJIRA
Figma
Solution
Implement an anchor / right column where widgets can be inserted
Changes
[data-o-header-search-widget-anchor="primary"]and[data-o-header-search-widget-anchor="sticky"]browser.jsinit to resolve the required containers via.closest()Manual QA
Tests
Run locally (next-home-page)
Then verify on local home page:
Screenshots
Grid layout

Grid layout sticky

Anchor flows with the content, empty or not

Anchor behaviour if the inside element is too big

Not displayed on small screens

The sold ad position will have these dimensions and locations and handles its own available space within the anchor via container queries
Enough space for anchor, not for the ad

Enough space for the ad
