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

page template - Add featured image as post header background image

programmeradmin3浏览0评论

Wordpress Theme : Twenty Twenty [provided by wordpress]

Cloud Hosting : Digital Ocean

I need to put the featured image as post header background image.Please also explain that in which file of wordpress template, i need to update and how I can achieve this, I don't have prior wordpress development experience.

Wordpress Theme : Twenty Twenty [provided by wordpress]

Cloud Hosting : Digital Ocean

I need to put the featured image as post header background image.Please also explain that in which file of wordpress template, i need to update and how I can achieve this, I don't have prior wordpress development experience.

Share Improve this question asked Sep 22, 2020 at 18:48 SFDC DolphinSFDC Dolphin 1
Add a comment  | 

1 Answer 1

Reset to default 0

The WordPress uses the single.php template for all the posts. Just navigate to your theme files and locate single.php under Wp-content/themes/twenty. There you can write your css to define a background image. That's it!

Good luck.

发布评论

评论列表(0)

  1. 暂无评论