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

[Bug] Inline title color not consistent with h1 color #264

Open
lihua-cat opened this issue Apr 9, 2024 · 2 comments · May be fixed by #316
Open

[Bug] Inline title color not consistent with h1 color #264

lihua-cat opened this issue Apr 9, 2024 · 2 comments · May be fixed by #316
Assignees
Labels
bug Something isn't working

Comments

@lihua-cat
Copy link

Describe the bug
Inline title color is not consistent with h1 color in Style Settings

To Reproduce
Steps to reproduce the behavior:

  1. Toggle Enable Custom Heading Colors in Style Settings
  2. Toggle Show Inline Title in obsidian option/apperance
  3. See error

Expected behavior
Same font color of inline title and h1

Screenshots
img

@lihua-cat lihua-cat added the bug Something isn't working label Apr 9, 2024
@ProudBenzene
Copy link
Contributor

In-line titles are not the same as H1 headings in Obsidian. If you want to change the style of the inline titles, you need to make a separate change to the CSS associated with the inline titles, which has nothing to do with the style of the H1 header. They are independent.

If you wish to modify the styling of in-line headings, you can refer to this article and create a new css snippet in the .obsidian/snippets folder to do so: Obsidian 样式:笔记页内标题居中

@lihua-cat
Copy link
Author

You're right. They are different things. I just thought the inline title styles inherit from the H1 headings. Since it`s not true, feel free to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants