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

mac上文字上方的标题图片仍然是.pattern-center样式,宽度100%。 #22

Closed
limin04551 opened this issue Jul 14, 2020 · 7 comments
Labels
question Further information is requested

Comments

@limin04551
Copy link

No description provided.

@LIlGG
Copy link
Owner

LIlGG commented Jul 14, 2020

有图片吗?

@limin04551
Copy link
Author

http://182.61.27.43/upload/2020/07/截屏2020-07-14 下午11.32.54-224ba27cdd9348a5bba7b1cd10880d94.png
在你的demo上看文章是没问题的,但是自己这边就有问题,从https://github.com/LIlGG/halo-theme-sakura拉的主题。

@LIlGG
Copy link
Owner

LIlGG commented Jul 14, 2020

http://182.61.27.43/upload/2020/07/截屏2020-07-14 下午11.32.54-224ba27cdd9348a5bba7b1cd10880d94.png
在你的demo上看文章是没问题的,但是自己这边就有问题,从https://github.com/LIlGG/halo-theme-sakura拉的主题。

emmm 图片不存在。 我看你的博客也似乎没有什么问题。。

@limin04551
Copy link
Author

图片地址:“http://182.61.27.43/upload/2020/07/截屏2020-07-14 下午11.32.54-224ba27cdd9348a5bba7b1cd10880d94.png”;
存在的哟,我用windows上去看是没问题,mbp上去看标题图就拉长了 ### - -

@LIlGG
Copy link
Owner

LIlGG commented Jul 14, 2020

http://182.61.27.43/upload/2020/07/截屏2020-07-14 下午11.32.54-224ba27cdd9348a5bba7b1cd10880d94.png

推荐使用markdown的方式发送图片 ![]()这样的。
我这边看过你这个图,看起来是和我预期的差不多的。 默认确实会将图片长度设置为100%。 有什么更好的建议吗?

@limin04551
Copy link
Author

我这边直接.pattern-center也改成800px;margin: 0 auto;了

@LIlGG
Copy link
Owner

LIlGG commented Jul 15, 2020

@limin04551 也许是你的用法不太对。pattern-center为800px的情况,只有当主题里面开启背景缩进,并且目前为对应的主题才会缩进。如下图
themeSettings
如果你想达到对应的效果,可以在 主题设置 -> 主题切换 -> 背景缩进中 将默认主题的背景缩进勾选即可

@LIlGG LIlGG reopened this Jul 15, 2020
@LIlGG LIlGG closed this as completed Jul 16, 2020
@LIlGG LIlGG added the question Further information is requested label Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants