pages-themes / cayman

Cayman is a Jekyll theme for GitHub Pages
https://pages-themes.github.io/cayman/
Creative Commons Zero v1.0 Universal
1.19k stars 3.15k forks source link

some pages shift when viewed on desktop #87

Closed Lnk2past closed 3 years ago

Lnk2past commented 4 years ago

Hi there! I am a newbie when it comes to any amount of web development, so I apologize if this is not a direct issue with the cayman theme (which is amazing, by the way!).

I found that some pages on my website are shifting to the left when viewed on desktop. This does not happen on mobile (at least not on my phone, neither portrait nor landscape). I have not modified the theme, just mostly adding content and throwing some things from other tutorials in.

For reference, my site is https://www.nesware.io and the source code is https://github.com/NESWare/NESWare.github.io. The Home page, About page, and all blog posts share the same shift and the Blog and Projects pages share the same shift. I have zero clue as to why.

If anyone can point me in the right direction to debug this it would be much appreciated.

KTibow commented 4 years ago

Here's what's doing the centering: https://github.com/pages-themes/cayman/blob/d4cdac15d273c45cb6d9a0b1d2772a21008ea063/_sass/jekyll-theme-cayman.scss#L162-L185 Add margin: 0 auto basically...

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

KTibow commented 4 years ago

Basically follow the instructions for changing the css, and style however you want.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.