首页 文章

在手机上导航图像

提问于
浏览
0

我已经构建了这个site当我在移动设备上查看它时,我可以看到导航栏图像,但如果我在手机上查看该网站,我将无法再看到导航栏图像 . 这是CSS . 任何帮助,将不胜感激 . 背景:网址("/img/nav-bar/group35.png"); `.mobile-nav-logo {

font-size: 35px;
height: 50px;
width: 123px;
color: white;
text-decoration: none;
position: fixed;
z-index: 1000;
left: 19px;
top: 9px;
cursor: pointer;
background-size: contain;
cursor: pointer;

}`

3 回答

  • 0

    这是一个功能,而不是一个bug . 您使用的模板有一个移动菜单,当屏幕宽度低于1000px时,它会切换到该模板 . 单击小堆栈图标,它会拉出菜单 .

  • 0

    这是因为有一个媒体查询隐藏了导航以使其适合移动设备:

    当屏幕达到1000px时,导航栏会折叠 .

    @media only screen and (max-width: 1000px)
    style.css?ver=1.0:1457
    .nav-bar {
        display: none;
    }
    
  • 1

    我发现我的问题是一个缓存问题 . 我将图像更改为.svg . 但是铬正在缓存那些不再存在的旧图像 .

相关问题