V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
wheatcuican
V2EX  ›  问与答

怎么在wordpress添加左侧的浮动导航?

  •  
  •   wheatcuican · 2013-11-13 23:09:00 +08:00 · 2948 次点击
    这是一个创建于 3829 天前的主题,其中的信息可能已经有所发展或是发生改变。
    类似于smzdm的左侧导航。需要在哪里添加和调用代码?
    2 条回复    1970-01-01 08:00:00 +08:00
    dragonszy
        1
    dragonszy  
       2013-11-14 20:33:16 +08:00
    外观->菜单里添加自定义菜单,比如命名 MySidebar,添加一些页面链接。

    接着在“外观->小工具”里把 MySidebar 添加到主题自带的"sidebar"区域(twenty thirteen里是从挂件区)。

    然后修改 style.css,一般浮动是加 position:fixed 等。具体见 http://zh.learnlayout.com/

    最后,俺回复仅仅是为了消灭0回复。
    wheatcuican
        2
    wheatcuican  
    OP
       2013-11-14 21:22:56 +08:00
    @dragonszy 十分感谢~~~
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   6208 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 01:52 · PVG 09:52 · LAX 18:52 · JFK 21:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.