dtxf759200 2016-11-02 14:49
浏览 46
已采纳

RTL'ing PHP hrm系统 - 菜单无效

I purchased Advanced HRM system from CodeCanyon and rtl'd it using that CSS. Now the system menu (username: admin, password: admin.password) is not switching off, and by that not responsive as well. Support through CodeCanyon is not relevant, since they doesn't support RTL. How can I fix it ?

  • 写回答

1条回答 默认 最新

  • dqhdpppm02183 2016-11-02 15:25
    关注

    Your style-custom.css is a bit wrong.

    The menu works in a way that it moves the menu "off screen" using a minus value as margin. When you added your own CSS, you did set the margin to 0 instead of a negative value.

    Here are some changes to make it be "hidden" and to scroll out on mouse over: (which worked when I tested in the browser):

    /* Change this one */
    .left-nav-bar {
        right: 0px;
        margin-left: 0px;
        margin-right: -190px; /* This hides it by pulling it off screen */
    }
    
    /* Add this one */
    .left-nav-bar:hover {
        margin-right: 0; /* This positions it on the screen again */
    }
    

    If you want to adjust how much that is visible when it's "hidden", just adjust the value -190px.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?