最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

headers - How to make my banner (logo image) position on the center

programmeradmin0浏览0评论

I'm trying to redesign my website, and I'm not sure how to make the banner (logo image) positioned on the center of the website. I tried editing the CSS of the theme to set it do display: flex and the justify-content: center and align-items: center however this didn't work. The theme I'm using is Lectura Lite. I tried searching on the web, however I couldn't find anything useful.

Thanks in advance.

I'm trying to redesign my website, and I'm not sure how to make the banner (logo image) positioned on the center of the website. I tried editing the CSS of the theme to set it do display: flex and the justify-content: center and align-items: center however this didn't work. The theme I'm using is Lectura Lite. I tried searching on the web, however I couldn't find anything useful.

Thanks in advance.

Share Improve this question asked May 25, 2020 at 15:20 someone12321someone12321 1133 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

I'm not sure what is your html structure, but have you tried applying the css to the parent element of the header? Can you elaborate your question, or maybe try the css below:

.parent {
    display: flex;
    justify-content: space-between;
}
发布评论

评论列表(0)

  1. 暂无评论