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

Changing position of the reading progress bar and social sharing icons to the side #499

Open
cykingw opened this issue Jan 7, 2023 · 1 comment

Comments

@cykingw
Copy link

cykingw commented Jan 7, 2023

How do I change the position of the reading progress bar and the social sharing icons from the bottom to the side (like stacked on top of each other) or elsewhere using code injunction?

@eddiesigner
Copy link
Owner

You can inject the following code in the Ghost Admin:

<style>
  @media only screen and (max-width: 48rem) {
    .m-share {
      background-color: transparent;
      box-shadow: none;
      height: auto;
      left: auto;
      right: 16px;
      bottom: 32px;
      width: auto;
    }

    .m-share__content {
      flex-direction: column;
      gap: 24px;
      height: auto;
    }

    .m-icon-button.in-share {
      margin: 0;
    }
  }
</style>

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