Html 自定义标头将不会加载';加载资源失败:服务器响应状态为404(未找到)';

Html 自定义标头将不会加载';加载资源失败:服务器响应状态为404(未找到)';,html,css,wordpress,background-image,custom-headers,Html,Css,Wordpress,Background Image,Custom Headers,我的网站是www.rostheexplorer.com 当设备宽度大于601px时,我希望发生以下情况 我不希望菜单和菜单之间有任何空隙 自定义标题 我不希望在客户标题上方有任何空格 我不希望H1、插件或页面上的任何其他内容与客户标题重叠 我不希望在客户标题的左侧或右侧出现任何空白 我希望能够始终看到整个文本“探险家罗斯”,我不希望最后一个R被删除 请访问www.nomadicmart.com了解我想要实现的目标 为了将自定义标题放在自己的行中,我尝试使用以下代码 <div clas

我的网站是www.rostheexplorer.com

当设备宽度大于601px时,我希望发生以下情况

  • 我不希望菜单和菜单之间有任何空隙 自定义标题
  • 我不希望在客户标题上方有任何空格
  • 我不希望H1、插件或页面上的任何其他内容与客户标题重叠
  • 我不希望在客户标题的左侧或右侧出现任何空白
  • 我希望能够始终看到整个文本“探险家罗斯”,我不希望最后一个R被删除
  • 请访问www.nomadicmart.com了解我想要实现的目标

    为了将自定义标题放在自己的行中,我尝试使用以下代码

       <div class="row">
    
    <div class="col-sm-12" style="background-color:lavender;">
      <div class="custom-header"></div>
    </div>
    
     </div>
    
    在包含新代码后,加载并仍然会导致404错误(未找到)

    人们能给我一些关于我可以尝试的其他代码的建议吗

    谢谢

    是的,这是您的代码:

    @media screen and (min-width: 601px)?custom-css=d4d401c306:9
    
    .custom-header {
        background: url(https://i1.wp.com/www.rosstheexplorer.com/wp-content/uploads/2017/02/Cover-Photo-6-2.jpg) no-repeat;
    
        width: 100%;
        height: 40%;
        background-size: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    /*改变背景尺寸:封面;背景尺寸:100%*/

     @media screen and (min-width: 601px)?custom-css=d4d401c306:9
    
    .custom-header {
        background: url(https://i1.wp.com/www.rosstheexplorer.com/wp-content/uploads/2017/02/Cover-Photo-6-2.jpg) no-repeat;
    
        width: 100%;
        height: 40%;
        background-size: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    

    非常感谢。“资源管理器”中的R不再被剪切,尽管客户标题和页面其他元素之间的间距仍然存在问题。您需要反复尝试自定义标题和导航栏上的填充和边距。这是非常人口,所以你将有困难实现这一点。也许可以尝试在网站内容中添加填充,以便放下主容器,这将为您提供一些工作空间。我的自定义标题现在无法加载。我收到一条错误消息:加载资源失败:服务器以404(未找到)的状态响应。看起来您已经破坏了一些代码,您是否正在为自定义头使用插件。如果是,请尝试删除它并重新安装。
    @media screen and (min-width: 601px)?custom-css=d4d401c306:9
    
    .custom-header {
        background: url(https://i1.wp.com/www.rosstheexplorer.com/wp-content/uploads/2017/02/Cover-Photo-6-2.jpg) no-repeat;
    
        width: 100%;
        height: 40%;
        background-size: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
    
     @media screen and (min-width: 601px)?custom-css=d4d401c306:9
    
    .custom-header {
        background: url(https://i1.wp.com/www.rosstheexplorer.com/wp-content/uploads/2017/02/Cover-Photo-6-2.jpg) no-repeat;
    
        width: 100%;
        height: 40%;
        background-size: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }