Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

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:

...

Code Block
languagecss
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

Code Block
languagejs
if($("#page-content-wrapper").css("margin-top",s),$("#page-content-wrapper").offset()){var g=$(document).height()-$("#page-content-wrapper")

and replace it with

Code Block
languagejs
if($("#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")

...

Note that this will vary from system to system. The key difference is in the letter found after .css("margin-top",In this example, because it is s, then we change .css( instead.

Info

Note the letter that comes after "margin-top"

...

as it is needed in the next step.

Step 2

Next, find the text

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

and replace it with

Code Block
languagejs
$(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("paddingmargin-top",e) and .height()-$ to , then your result for Step 2 would be:

Code Block
languagejs
$(document).height()-e-$("#page-content-wrapper")