Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Adjust the size of the right blank area, for Publication&Blog pages #2473

Unanswered
Eternal579 asked this question in Q&A
Discussion options

I like this template so much, it's useful for expressing myself!
However, I got problems when i try to adjust the size of the right blank area.
微信图片_20240926123649
Is there any way to adjust this? 'cause my paper title is really long, having so much blank space on the right really bothers me.

You must be logged in to vote

Replies: 3 comments

Comment options

You can modify the variables$right-sidebar-width-narrow, $right-sidebar-width, and $right-sidebar-width-wide in the SCSS file _sass/_variables.scss.

You must be logged in to vote
0 replies
Comment options

This has been addressed in the latest version of the template, thanks to changes made by @HirokiHamaguchi.

You must be logged in to vote
0 replies
Comment options

I've not had success with changing the variables suggested by zhangyumeng1sjtu, but managed to find a work-around solution for this (YMMV):

  • For pages where you want to remove the empty space on the right, begin the page files in your _pages directory with layout: archive
  • For pages where you want to insert the empty space on the right, begin the page files in your _pages directory with layout: single
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #2472 on September 26, 2024 12:17.

AltStyle によって変換されたページ (->オリジナル) /