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

Custom style does not apply on the blog pages #372

Closed
OniriCorpe opened this issue Aug 22, 2020 · 3 comments
Closed

Custom style does not apply on the blog pages #372

OniriCorpe opened this issue Aug 22, 2020 · 3 comments

Comments

@OniriCorpe
Copy link

Describe the bug

The custom style does not apply on the blog pages, only on the home page.

Steps to reproduce

Apply a custom style in the settings, for example:

article p {
  text-indent: 2em;
}

Check the home page : ✅
On https://EXAMPLE.TLD/ : it's all right.

Check the blog pages : ❌
On https://EXAMPLE.TLD/chapter-1/ : Nothing's changed.

Expected behavior

Style changes should be applied to all of the user's posts.

Application configuration

  • Single mode
  • Database? mysql
  • Open registration? no
  • Federation enabled? yes

Version or last commit: v0.12.0

@cjeller1592
Copy link
Contributor

Applying similar style on the blog pages as the home page requires specifying the home page (collection) and blog pages (post) ID in the CSS.

#collection, #post article {text-indent: 2em;}

Let me know if that works on your end @OniriCorpe. There definitely should be more documentation on this. For now there's the basic CSS guide (but a lot more could be explained in it) here: https://writefreely.org/docs/latest/writer/css

I wonder if this is more of a documentation problem.

@cblgh
Copy link

cblgh commented Nov 15, 2020

@cjeller1592 Hi! I just came across the project and was excited to see that a federated Blogger already existed. Is the theming possible on a blog-per-blog basis, or is it restricted to one theme per WriteFreely instance?

edit: looks like the answer is—yes, blog-per-blog customizing is a thing! (i came across a video demonstrating it, but lost the link)

@cjeller1592
Copy link
Contributor

You're right @cblgh, theming is on a blog-per-blog basis!

I am going to close this issue due to inactivity. Please feel free to open a new one if something else doesn't make sense with customization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants