-
Notifications
You must be signed in to change notification settings - Fork 41k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to freeze the top pane when scrolling down? #339
Comments
I am also interested in knowing hot to do this. |
Check this diff out: mmistakes/minimal-mistakes#490 Hope it helps, worked just fine for me. |
Yes, this works, but when clicking on anchored text in a page (i.e. https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/#remote-theme-method), the text is overlaid by the header. i've tried to add additional scroll padding to the css to accommodate the width of the sticky header without any success. Have others had more success with this? |
Did you manage to solve it? |
I tried the following solutions, and solved the problem. Hope it helps. https://stackoverflow.com/questions/4086107/fixed-page-header-overlaps-in-page-anchors/9618795 |
So it turns out that Minimal Mistakes, and therefore Academic Pages by extension, is using the jQuery Smooth Scroll library, which in turn means that the CSS based |
# Merged changes from Upstream Fork * Increase font size in code blocks See academicpages#59 * Adds missing semi-colon * fix font awesome code icon in syntax box * Fix encoding issue with bib files * add goodreads to site * change orcid color * add medium icon * add medium profile * Resolve Google Scholar link not displayed There was as slight typo in the logic due to which the google scholar link for the respective author's profile set in Config was not being displayed. * Adding pronouns field to author profile * Add Google Analytics 4 Support * fix: Remove deprecated JavaScript to avoid load error from 404 page * Update files to be ignored * + webrick to gem file * academicpages#1902 RM excerpt in pages * Start updating the README * academicpages#456 Use real Google Scholar link as an example * Update issue templates * RM minimal mistakes changelog * academicpages#1906 * Edit readme * + Syntax highlighting example * Update README.md * Update README * Correct syntax * Streamline config organization for new users * Add Mastodon to social media * Closes academicpages#696 with new Kaggle link * Adjustments to Kaggle link * Closes academicpages#271 with addition of arXiv * academicpages#244, academicpages#1600, academicpages#1917 update font awesome to v6, add icons * Closes academicpages#1911 with update to Academicons * Closes academicpages#1671 with a new favicon * academicpages#462 update inline documentation * academicpages#1041 allow links to wrap * Closes academicpages#1773 with update to HTML * Closes academicpages#45 with an update to the CV generator * academicpages#33, academicpages#1919 Possible missing template fix, bump MathJax to 3.0 * academicpages#1153 add Zhihu * Closes academicpages#1905 with updates to documentation * Closes academicpages#693 with updates to documentation and location of citation * Closes academicpages#820 with updated style * added missing spanish translations and updated some of the previous ones on ui-text-yml * Replace `polyfill.io` * Closes academicpages#1972, update Markdown documentation * Closes academicpages#1936 with setting to hide RSS feed * academicpages#1935 clean-up the footer follow a bit * RM old development override * Make it clearer where the footnotes are * academicpages#1975 ignore files created by npm * Closes academicpages#339 with a fixed masthead * academicpages#1975 version updates, manage jQuery from npm * Closes academicpages#1970 with responsive element * Fix typo * Closes academicpages#1999 * scroll in sidebar * scroll in sidebar * Add scroll to sidebar and adjust media query for screen adaptability * Closes academicpages#2029 with update to sidebar * Closes academicpages#1917 with with icon, FA bump to 6.5.2 * Update _config.yml # Added More Info and blanked out the template filler material. * added to short left hand bio * Commented out most of the example publication * couldn't comment out the link, so changed text from The paper can be downloaded here to test link, and redirected the link to the correct test file * Comment out 2012-03-01-talk-1.md * Commented out 2013-03-01-tutorial-1.md * added some text so that the rest renders blank 2012-03-01-talk-1.md * Commented out 2014-02-01-talk-2.md * Comment out 2014-03-01-talk-3.md * Comment out 2012-08-14-blog-post-1.md * Update 2012-08-14-blog-post-1.md * Comment out Update 2199-01-01-future-post.md * Comment out portfolio-1.md * Comment out portfolio-2.html * Commented out pubs and talks for now navigation.yml * Update cv.md * Update cv.md * rename to about about.md * Update _config.yml * Rename webpage main title * Update cv.md - figured out how to properly comment out the links to stuff - added Scotts email - started to begin summary for each job * Update cv.md * Update cv.md * Create 2021-04-20-iop-poster-optimising.md * Update and rename 2021-04-20-iop-poster-optimising.md to 2021-04-06-iop-poster-optimising.md * added poster file * academicpages#2061 Update README with note on dependencies * Closes academicpages#2055 with adjustment to masthead-height * Adjust variable name to prevent confusion * Update casing of template name * managed to empty out the CV when stuff isn't there * hidden blogposts for now until I add some more * added some detail to CV * added some more intro details for the about page --------- ## Main Repo Credits Co-authored-by: Steve <sbitner@uwf.edu> Co-authored-by: Rob Williams <jayrobwilliams@gmail.com> Co-authored-by: sigma67 <benedikt.putz@wiwi.uni-regensburg.de> Co-authored-by: naveenarun <notatroll.troll@gmail.com> Co-authored-by: Mohit_Gupta <52665879+Mohit-15@users.noreply.github.com> Co-authored-by: Bhavish Pahwa <53102161+bp-high@users.noreply.github.com> Co-authored-by: amyzlc <6166519+amyzlc@users.noreply.github.com> Co-authored-by: Sonny Arora <sonnyarora@Sonnys-MacBook-Air.local> Co-authored-by: Bhav Beri <43399374+bhavberi@users.noreply.github.com> Co-authored-by: rjzupkoii <rjzii@yahoo.com> Co-authored-by: johnhandleyd <translatjohn@gmail.com> Co-authored-by: SukkaW <isukkaw@gmail.com> Co-authored-by: Maximiliano <maximilianogalindo7@gmail.com>
# Merged changes from Upstream Fork * Increase font size in code blocks See academicpages#59 * Adds missing semi-colon * fix font awesome code icon in syntax box * Fix encoding issue with bib files * add goodreads to site * change orcid color * add medium icon * add medium profile * Resolve Google Scholar link not displayed There was as slight typo in the logic due to which the google scholar link for the respective author's profile set in Config was not being displayed. * Adding pronouns field to author profile * Add Google Analytics 4 Support * fix: Remove deprecated JavaScript to avoid load error from 404 page * Update files to be ignored * + webrick to gem file * academicpages#1902 RM excerpt in pages * Start updating the README * academicpages#456 Use real Google Scholar link as an example * Update issue templates * RM minimal mistakes changelog * academicpages#1906 * Edit readme * + Syntax highlighting example * Update README.md * Update README * Correct syntax * Streamline config organization for new users * Add Mastodon to social media * Closes academicpages#696 with new Kaggle link * Adjustments to Kaggle link * Closes academicpages#271 with addition of arXiv * academicpages#244, academicpages#1600, academicpages#1917 update font awesome to v6, add icons * Closes academicpages#1911 with update to Academicons * Closes academicpages#1671 with a new favicon * academicpages#462 update inline documentation * academicpages#1041 allow links to wrap * Closes academicpages#1773 with update to HTML * Closes academicpages#45 with an update to the CV generator * academicpages#33, academicpages#1919 Possible missing template fix, bump MathJax to 3.0 * academicpages#1153 add Zhihu * Closes academicpages#1905 with updates to documentation * Closes academicpages#693 with updates to documentation and location of citation * Closes academicpages#820 with updated style * added missing spanish translations and updated some of the previous ones on ui-text-yml * Replace `polyfill.io` * Closes academicpages#1972, update Markdown documentation * Closes academicpages#1936 with setting to hide RSS feed * academicpages#1935 clean-up the footer follow a bit * RM old development override * Make it clearer where the footnotes are * academicpages#1975 ignore files created by npm * Closes academicpages#339 with a fixed masthead * academicpages#1975 version updates, manage jQuery from npm * Closes academicpages#1970 with responsive element * Fix typo * Closes academicpages#1999 * scroll in sidebar * scroll in sidebar * Add scroll to sidebar and adjust media query for screen adaptability * Closes academicpages#2029 with update to sidebar * Closes academicpages#1917 with with icon, FA bump to 6.5.2 * Update _config.yml # Added More Info and blanked out the template filler material. * added to short left hand bio * Commented out most of the example publication * couldn't comment out the link, so changed text from The paper can be downloaded here to test link, and redirected the link to the correct test file * Comment out 2012-03-01-talk-1.md * Commented out 2013-03-01-tutorial-1.md * added some text so that the rest renders blank 2012-03-01-talk-1.md * Commented out 2014-02-01-talk-2.md * Comment out 2014-03-01-talk-3.md * Comment out 2012-08-14-blog-post-1.md * Update 2012-08-14-blog-post-1.md * Comment out Update 2199-01-01-future-post.md * Comment out portfolio-1.md * Comment out portfolio-2.html * Commented out pubs and talks for now navigation.yml * Update cv.md * Update cv.md * rename to about about.md * Update _config.yml * Rename webpage main title * Update cv.md - figured out how to properly comment out the links to stuff - added Scotts email - started to begin summary for each job * Update cv.md * Update cv.md * Create 2021-04-20-iop-poster-optimising.md * Update and rename 2021-04-20-iop-poster-optimising.md to 2021-04-06-iop-poster-optimising.md * added poster file * academicpages#2061 Update README with note on dependencies * Closes academicpages#2055 with adjustment to masthead-height * Adjust variable name to prevent confusion * Update casing of template name * managed to empty out the CV when stuff isn't there * hidden blogposts for now until I add some more * added some detail to CV * added some more intro details for the about page --------- ## Main Repo Credits
* Increase font size in code blocks See academicpages#59 * Adds missing semi-colon * fix font awesome code icon in syntax box * Fix encoding issue with bib files * add goodreads to site * change orcid color * add medium icon * add medium profile * Resolve Google Scholar link not displayed There was as slight typo in the logic due to which the google scholar link for the respective author's profile set in Config was not being displayed. * Adding pronouns field to author profile * Add Google Analytics 4 Support * fix: Remove deprecated JavaScript to avoid load error from 404 page * Update files to be ignored * + webrick to gem file * academicpages#1902 RM excerpt in pages * Start updating the README * academicpages#456 Use real Google Scholar link as an example * Update issue templates * RM minimal mistakes changelog * academicpages#1906 * Edit readme * + Syntax highlighting example * Update README.md * Update README * Correct syntax * Streamline config organization for new users * Add Mastodon to social media * Closes academicpages#696 with new Kaggle link * Adjustments to Kaggle link * Closes academicpages#271 with addition of arXiv * academicpages#244, academicpages#1600, academicpages#1917 update font awesome to v6, add icons * Closes academicpages#1911 with update to Academicons * Closes academicpages#1671 with a new favicon * academicpages#462 update inline documentation * academicpages#1041 allow links to wrap * Closes academicpages#1773 with update to HTML * Closes academicpages#45 with an update to the CV generator * academicpages#33, academicpages#1919 Possible missing template fix, bump MathJax to 3.0 * academicpages#1153 add Zhihu * Closes academicpages#1905 with updates to documentation * Closes academicpages#693 with updates to documentation and location of citation * Closes academicpages#820 with updated style * added missing spanish translations and updated some of the previous ones on ui-text-yml * Replace `polyfill.io` * Closes academicpages#1972, update Markdown documentation * Closes academicpages#1936 with setting to hide RSS feed * academicpages#1935 clean-up the footer follow a bit * RM old development override * Make it clearer where the footnotes are * academicpages#1975 ignore files created by npm * Closes academicpages#339 with a fixed masthead * academicpages#1975 version updates, manage jQuery from npm * Closes academicpages#1970 with responsive element * Fix typo * Closes academicpages#1999 * scroll in sidebar * scroll in sidebar * Add scroll to sidebar and adjust media query for screen adaptability * Closes academicpages#2029 with update to sidebar * Closes academicpages#1917 with with icon, FA bump to 6.5.2 * academicpages#2061 Update README with note on dependencies * Closes academicpages#2055 with adjustment to masthead-height * Adjust variable name to prevent confusion * Update casing of template name * Fix typo in build-essential package name. The package which is required for this installation is named `build-essential`, not `build-essentials`. * Fix academicpages#1920 by allowing text to wrap * Add support to semantic scholar in author profile * Support for displaying slides on publication pages * Addressed PR academicpages#2126 review comments * Fix typo, modifications to style * Update _config.yml Make claimed default and actual default consistent * Add Chinese (both simplified and traditional) to ui-text.yml Simplified Chinese: zh zh-CN Traditional Chinese: zh-HK zh-TW * Adds commands for MacOS * Update README.md * update about me * use shorter QMUL * delete template file --------- Co-authored-by: Steve <sbitner@uwf.edu> Co-authored-by: Rob Williams <jayrobwilliams@gmail.com> Co-authored-by: sigma67 <benedikt.putz@wiwi.uni-regensburg.de> Co-authored-by: naveenarun <notatroll.troll@gmail.com> Co-authored-by: Mohit_Gupta <52665879+Mohit-15@users.noreply.github.com> Co-authored-by: Bhavish Pahwa <53102161+bp-high@users.noreply.github.com> Co-authored-by: amyzlc <6166519+amyzlc@users.noreply.github.com> Co-authored-by: Sonny Arora <sonnyarora@Sonnys-MacBook-Air.local> Co-authored-by: Bhav Beri <43399374+bhavberi@users.noreply.github.com> Co-authored-by: rjzupkoii <rjzii@yahoo.com> Co-authored-by: johnhandleyd <translatjohn@gmail.com> Co-authored-by: SukkaW <isukkaw@gmail.com> Co-authored-by: Maximiliano <maximilianogalindo7@gmail.com> Co-authored-by: Dan Grahn <dgrahn@users.noreply.github.com> Co-authored-by: Dan Grahn <dan.grahn@altamiracorp.com> Co-authored-by: thiagorr162 <thiagorr162@gmail.com> Co-authored-by: Saravanan D. <saravananinca@gmail.com> Co-authored-by: Manuel Haussmann <manuel.haussmann@mailbox.org> Co-authored-by: Yuhang YAN (Henry) <96647290+YanY-Henry@users.noreply.github.com> Co-authored-by: Zarela <zarelavp@yahoo.com>
Currently, if I scroll down, say my publications page, the top pane is not accessible and I have to scroll up to the top to access different options on the top pane such as CV or portfolio. It would be nice to freeze or lock this pane to always appear at the top even during scrolling, like how the side pane with profile pic renders. May I know if this is already possible?
Thanks in advance!
The text was updated successfully, but these errors were encountered: