如何在Wordpress中添加图像URL路径

问题描述

我已经创建了一个前端页面。请让我知道如何为WordPress添加URL以及如何为背景图像添加CSS?

我的图片html元素

  1. <img src="./img/Hbook.jpg" class="img-responsive">

  2. 背景图像选择器

.firstSection{
    background-image: url("../img/car.png"); 
        margin-top:0px; 
        background-size:cover;
        background-position:50%;
        background-repeat:no-repeat;
        height:800px; 
        display: table; 
        width: 100%;
        
        -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      top: 0;
      left: 0;
    
    }

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)