WordPress-Live Server上没有背景图片 [英] WordPress - No Background Images on Live Server

查看:152
本文介绍了WordPress-Live Server上没有背景图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这个问题上遇到了很多麻烦.我正在上一本WordPress课程,最后一部分是将其从我的本地主机移到实时服务器.

I am having tons of trouble with this issue. I'm taking a WordPress course, and I'm on the final part... moving it from my localhost to a live server.

但是,这样做之后,我的背景图像没有出现.起初,我的整个媒体库都坏了,但是我能够解决这个问题.我似乎无法弄清楚背景图片的问题.

After doing so, however, my background images do not appear. At first, my whole media library was broken, but I was able to fix that. I can't seem to figure out the issue with the background images though.

我一直在搜索多个论坛以寻找答案,然后再在此处发布...但是我似乎找不到或理解它,所以我想就我的具体情况寻求帮助.

I've been scouring multiple forums looking for an answer before posting here... but I can't seem to find it, or understand it, so I thought I'd ask for help regarding my specific situation.

这里是到当前在线WordPress网站的链接: http://176.32.230.251/znbootstraptowordpress.com/

Here is a link to the current, live WordPress site: http://176.32.230.251/znbootstraptowordpress.com/

这是静态站点的链接,因此您可以查看缺少哪些背景图像: http://176.32.230.251/b2wzachnagatani.com/

And here is a link to the static site, so you can see what background images are missing: http://176.32.230.251/b2wzachnagatani.com/

在此先感谢您的帮助!

推荐答案

在/themes/bootsrap2wordpress/style.css上检查您的style.css

Check your style.css on /themes/bootsrap2wordpress/style.css

找到/wp-content/themes/bootsrap2wordpress/assets/img/ 并全部替换为

./assets/img/

您的问题将得到解决.

完整的CSS

这篇关于WordPress-Live Server上没有背景图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆