Announcement

Collapse
No announcement yet.

Struck, Any coders feel like helping?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Struck, Any coders feel like helping?

    So I'm trying to make my site load faster and also teach myself how to code a little bit more with css rather then just use all tables. So far ehhh, I stink.

    Anyway with the nav I ran into a small snag. When you scroll down the pull out doesn't stay at the top, any ideas how to fix this?

    Untitled Document

  • #2
    This is another weird one. It seems to be a bug in the javascript you're using for the menu. If you inspect it in Chrome and mouseover a menu, the inline CSS changes to something like
    Code:
    margin-left: 300px; display: none; top: 36px; left: -219px;
    to

    Code:
    margin-left: 300px; display: block; top: 36px; left: -219px;

    if you scroll down a little and mouse over again the CSS will be something like
    Code:
    margin-left: 300px; display: block; top: 117px; left: -219px;

    I have no idea why the top:value is changing. It shouldn't be. Something is making it change. Presumably in the javascript, but I couldn't read the code well enough to see where.

    Comment


    • #3
      You could try a CSS rule for something like

      div.mm-item-content {
      top: 36px !important;
      }

      This might let you over-rule the changing value.

      Comment


      • #4
        Hi cbsteven,

        This worked perfect so far. Seems to be fine on everything I tested.

        div.mm-item-content {
        top: 36px !important;
        }

        Comment

        Working...
        X