此处广告位出售

git主题手机导航栏问题

使用了云落的git主题有一段时间了,开始使用时就发现了一个导航栏问题,再看了云落的网站也没修改后,我也没去管它,但是现在越来越不舒服,于是决定解决他,不过该问题仅在手机端有所体现。

在导航栏下创建二级导航栏时(如下图),手机端点击顶级导航栏WordPress,无法弹出二级导航栏”plugins”,”themes”,而是直接进入到顶级导航栏”WordPress”
git主题手机导航栏问题

目前已找到解决方法,方法很笨,但是不难,下面来看看我是怎么解决的。

导航栏处”WordPress”移除,改为自定义链接。“URL”处随便填,后面要删除;链接文本填原先的”WordPress”(这里根据你自己的情况定),然后添加到导航栏(菜单)。也就是说,这里创建了一个空的导航栏(菜单)。

有一点必须要说下,不要把”WordPress”分类目录删了,也就是”http://你的域名/WordPress”。这里如果删了后面的步骤就无法进行了。仅仅删除导航栏里的”WordPress”项;仅仅删除导航栏里的”WordPress”项;仅仅删除导航栏里的”WordPress”项。

git主题手机导航栏问题

如下图所示,先把刚刚随便填的”URL”里的内容删除(这里空的导航栏就完成了);

自定义链接”WordPress”(空)下方再创建一个自定义链接,”URL”为你刚移除的分类目录(比如我的是https://www.qicaiyun.top/wordpress),导航标签为”WordPress”。

再把原先的”plugins”,”themes”移动到刚刚创建的项目下即可。

git主题手机导航栏问题

总结一下思路,说的可能有点绕。导航栏”WordPress”变成了一个可点击但不会点入的栏目,并创建了一个二级点入的”WordPress”栏目。

这样做也没有改变网站链接的结构,所以并不会造成一些不好的影响,说的有点绕,我自己都感觉到了,但是我相信大家的理解能力,如果真有不懂的,在下方说出你的疑惑就好。

下图为改变后的样式,不过这样改变后手机端还是有一个小问题,只能点出来,点不回去,我在找找解决方法吧:

git主题手机导航栏问题

 


七彩云博客 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:git主题手机导航栏问题

您必须 登录 才能发表评论!

(11)个小伙伴在吐槽
  1. Turning Point Drug Rehab http://aaa-rehab.com Alcohol Rehab Centers Non 12 Step Rehab https://bookmarkingworld.review/story.php?title=these-guidelines-can-assist-you-drop-your-further-pounds#discuss
    Free Drug Rehab2020-04-01 11:23 Windows 10 | Chrome 66.0.3359.170
  2. Opioid Abuse Disorder http://aaa-rehab.com Drug Rehab Centers Near Me Prescription Drug Rehab http://onlekino.ru/user/rehabcenters/
    Substance Abuse Assessment Near Me2020-04-01 11:15 Windows 7 | Chrome 67.0.3396.87
  3. Luxury Rehab http://aaa-rehab.com Alcohol Rehab Centers 30 Day Inpatient Rehab Near Me http://kinoosa.ru/user/iviva/
    Drug Rehab Places2020-03-31 19:23 Windows 10 | Chrome 68.0.3440.84
  4. Teen Substance Abuse http://aaa-rehab.com Drug Rehab Centers Near Me Bay Cove Methadone Clinic http://physiopraxiskoeln.com/user/iviva/
    Alcohol Abuse Programs2020-03-31 19:16 Windows 7 | Chrome 68.0.3440.106
  5. Best Rehabs http://aaa-rehab.com Drug Rehab Centers Alcohol Rehab Clinic http://dukanyiq.com/author/jameszew/
    Substance Abuse Prevention And Treatment Program2020-03-31 02:16 Windows 7 | Chrome 66.0.3359.181
  6. Free Drug Rehabilitation Center http://aaa-rehab.com Alcohol Rehab Centers Luxury Alcohol Rehab http://www.surfing-waves.com/profiles/dMike
    Substance Abuse Rehab Near Me2020-03-31 02:10 Windows 7 | Chrome 67.0.3396.87
  7. Suboxone Program http://aaa-rehab.com Drug Rehab Centers Near Me Odyssey House Rehab https://www.kiwikupon.ru/coupon/3-psorifort-%d0%bc-990%d1%80-%d0%ba%d0%be%d0%bc%d0%bf%d0%bb%d0%b5%d0%ba%d1%81-%d0%be%d1%82-%d0%bf%d1%81%d0%be%d1%80%d0%b8%d0%b0%d0%b7%d0%b0/#comment-26
    Private Drug Rehab Centre2020-03-30 11:22 Windows 7 | Chrome 67.0.3396.87
  8. Suboxone Program http://aaa-rehab.com Drug Rehab Centers Near Me Odyssey House Rehab https://www.kiwikupon.ru/coupon/3-psorifort-%d0%bc-990%d1%80-%d0%ba%d0%be%d0%bc%d0%bf%d0%bb%d0%b5%d0%ba%d1%81-%d0%be%d1%82-%d0%bf%d1%81%d0%be%d1%80%d0%b8%d0%b0%d0%b7%d0%b0/#comment-26
    Private Drug Rehab Centre2020-03-30 11:22 Windows 7 | Chrome 67.0.3396.87
  9. Residential Drug Treatment http://aaa-rehab.com Alcohol Rehab Centers Drug Rehabilitation http://mab-auctions.com/author/jamesnes/
    Residential Drug Rehab2020-03-30 11:14 Windows 7 | Chrome 66.0.3359.170
  10. Inpatient Drug Rehab Near Me http://aaa-rehab.com Drug Rehab Centers http://aaa-rehab.com Drug Rehab For Young Adults http://aaa-rehab.com
    30 Day Inpatient Rehab2020-03-26 21:21 Windows 7 | Chrome 67.0.3396.87
  11. Best Drug Rehabilitation Centers http://aaa-rehab.com Drug Rehab Centers http://aaa-rehab.com Luxury Rehab Near Me http://aaa-rehab.com
    Free Inpatient Drug Rehab Near Me2020-03-26 21:09 Windows 8.1 | Chrome 67.0.3396.79