Skip to content
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

Chapter Openers: Having a different running content and chapter number location on page 1 of chapters #353

Open
beckej13820 opened this issue Jan 12, 2024 · 2 comments
Assignees

Comments

@beckej13820
Copy link
Contributor

beckej13820 commented Jan 12, 2024

I'm attempting to create a custom child theme.

The production team I am working with would like to have no header on the first page in a new chapter, and have the page number somewhere other than the top corner.

I thought this was possible in buckram through the manipulation of two variables in the theme file.

$first-running-content-position:
$first-numbering-position:

In my theme, in the _structure.scss file, I have the following rules:

// Structure

$running-content-position: 'top-outside' !default;
$left-running-separator: '\A0\A0\A0\A0\A0\A0\A0\A0' !default;
$right-running-separator: '\A0\A0\A0\A0\A0\A0\A0\A0' !default;
$first-numbering-position: 'bottom-center' !default;
$first-running-content-position: null !important;

However, I do not see a change happening with my exports.
Screenshot 2024-01-12 at 1 50 59 PM

@beckej13820
Copy link
Contributor Author

@greatislander Ned, this is an issue where it's hard to me to understand whether its a bug, or if I'm doing something wrong. Would you be willing to take a look?

@greatislander
Copy link
Collaborator

After some investigation it appears that this is in fact a bug. Buckram should support hiding running content/numbering on specific pages and although the seem appears to be properly constructed and the logic within Buckram appears to support this, it's not compiling SCSS to CSS which includes the necessary rules. I expect this is related to the larger issues noted here: #289 and pressbooks/pressbooks#2281 (comment).

@greatislander greatislander self-assigned this May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants