2

enter image description here

My customer is not happy with the current position of the SearchBox. So My job is to move it in the X (o365cs-nav) or in the Y (ms-cui-TabRowRight) position. I am looking for these positions in seattle.html master page.

Yet to find any workaround or these positions.

I know the position/location of the SearchBox in seattle.html. Desperately need the position of X or Y

  • 1
    look for an id of DeltaPlaceHolderSearchArea and reposition it to your liking? – Eric Alexander Nov 26 '15 at 4:20
  • DeltaPlaceHolderSearchArea is the SearchBox. I need to find the X or Y. Thanks @EricAlexander – Atish Dipongkor - MVP Nov 26 '15 at 5:27
1

The elements in positions X and Y which you are looking for are generated on the fly. You will not find the source of them in the seattle.html.

Position X: Its nothing but inside the SuiteBar which lies in div with ID ms-designer-ribbon.

source in seattle.html

enter image description here

Above image clearly indicates that there is no source for what you are looking.

The generated html for suite bar looks something like below

enter image description here

Position Y: This is again similar to X inside div with Id ms-designer-ribbon, which is generated on run time.

Solution: You can set the display attribute of the current OOB positioned search box in master page to none. Then write a simple JavaScript to change the position and make it visible.

| improve this answer | |
  • How can I move it to X or Y? – Atish Dipongkor - MVP Nov 26 '15 at 7:03
  • See the solution I have written.. You can do it with the help JavaScript. – Asad Refai Nov 26 '15 at 7:04
  • Do you mean adding some css by Then write a simple JavaScript to change the position and make it visible – Atish Dipongkor - MVP Nov 26 '15 at 7:06
  • Yes. First you set display:none on the existing search box. This is because you would not want to show to user the effect while search box changes its position. i.e initially at oob position, then your javascript changes it to some other position. Its better to hide it at first instance when all the processing is done, then show it to users. – Asad Refai Nov 26 '15 at 7:12
  • In that case I can add some css in master page. It will not show the transition I guess. – Atish Dipongkor - MVP Nov 26 '15 at 7:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.