test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • nyanginator Friend
    #865876

    Hi, with a clean install of Purity III, I followed the instructions exactly here, also noting the helpful comments. The Doc Nav shows, but doesn’t work entirely right. It only attaches without problem if I leave out the following Javascript lines:

            bottom: function () {
              return 300; // replace your bottom position to release the affix
            }

    The problem, of course, is now it doesn’t detach on the bottom. Once I put "bottom" back in, the Doc Nav attaches but then jumps and disappears immediately. The affix-bottom class never shows up.

    After playing with some numbers, I found that:

            bottom: function () {
              return -1000; // yes, a negative number
            }

    gets closer to what I want, where affix-bottom class does show up, and the Doc Nav actually detaches somewhat closer to the bottom of the page. The problem is the bottom offset doesn’t seem to be consistent. It’s dependent on the elements on the page, the footer, the size of the browser window … and putting in a giant negative offset just seems like an ugly hack. I don’t want to break anything else in the layout. Ideally I would be able to return $(‘footer’).outerHeight(true) for the bottom offset, but I can’t figure out what that big negative number is about.

    Has anybody gotten the affix-bottom to show up to detach correctly in a clean install of Purity III? I am working in Development Mode.

    Thanks for any help,

    Saguaros Moderator
    #867590

    Hi

    You can send me the login info so I can have a look: http://static.joomlart.com/images/blog/2015/nov/Add-new-post.gif

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  Saguaros 8 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum