Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Chrome version 101.0.4951.41 introduced an issue in the GlobalSearch Web grid view where a gray bar appears above the search results, obscuring the first few rows of results. This affects all GlobalSearch instances running 4.5 or newer.

  • Bug 12880: GSW Grid Layout - Chrome update breaks content layout.

The GlobalSearch release update 6.2.112 addresses this. However, sites running older versions of GlobalSearch will need to patch this manually. To fix this, two files need to be corrected. It is highly recommended to use a text editor such as notepad++, vim, or VS Code.

Back up all relevant files before making any edits. If the issue persists after making these changes, revert the files to the backup.

After making these changes, users will need to hard refresh the Search Results page or clear their browser cache.

File 1: simple-sidebar.css

Locate the file "C:\inetpub\wwwroot\Square9Web\css\simple-sidebar.css" and make the following two changes:

Find the text

margin-top:65px;padding:0;

and replace it with

padding:65px 0 0 0;

Then, find the text

height:calc(100vh - 140px);margin-top:50px

and replace it with

height:calc(100vh - 140px);padding-top:50px

File 2: globalSearch.min.js

Locate the file "C:\inetpub\wwwroot\Square9Web\js\globalSearch.min.js" and make the following change:

Step 1

Find the text

("#page-content-wrapper").css("margin-top",s)

and replace it with

("#page-content-wrapper").css("padding-top",s)

Note that the letter that comes after “margin-top", will vary from system to system. If you can’t find ("#page-content-wrapper").css("margin-top",s) exactly, try searching for ("#page-content-wrapper").css("margin-top", instead.

Note the letter that comes after "margin-top", as it is needed in the next step.

Step 2

Next, find the text

$(document).height()-$("#page-content-wrapper")

and replace it with

$(document).height()-s-$("#page-content-wrapper")

If the letter after “margin-top", found in step one is different than s, use that letter after height()- instead. For example, if you found the letter e in the text ("#page-content-wrapper").css("margin-top",e), then your result for Step 2 would be:

$(document).height()-e-$("#page-content-wrapper")
  • No labels