Support » Plugin: Sticky Element » Tried different Id and classes with no luck.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Youdaman

    (@youdaman)

    I had a look at your site and in the console it said:

    "#masthead" element not found, please check Sticky Element plugin settings

    So I think you want to change that to #header and it should work.

    Thread Starter Gabriel

    (@hiredad101)

    I had the splash screen on while working on the site.

    I did however try #header with no luck. FF developer console has the element as:
    header#masthead.siteheader and the same in Firebug.
    How can I get this to work?

    Plugin Author Youdaman

    (@youdaman)

    Can you please link me to a page that is using it so I can take a look?

    Thread Starter Gabriel

    (@hiredad101)

    Plugin Author Youdaman

    (@youdaman)

    I just had a look and it seems you’ve got it working now, assuming you wanted the top nave to stay in place, let me know if you’re ok 🙂

    Thread Starter Gabriel

    (@hiredad101)

    Its not working when I look at it. If I scroll the page the header does not stay at the top while everything else moves.

    I refreshed the page and cleared my browser still no luck.

    However you say it works when you look at it?

    Plugin Author Youdaman

    (@youdaman)

    Here’s a screenshot of what I see in Chrome at 1280×800 window size after scrolling down: https://dl.dropboxusercontent.com/u/17597312/HireDad.com%20-%20American%20SAHD%20Freelancers.png

    i.e. the nav sticks to the top (and is pushed up when the footer hits).

    What browser are you using? Is JavaScript turned on?

    Thread Starter Gabriel

    (@hiredad101)

    Great questions.
    I am using FF 24.0 and I browser searched “about:config” “javascript.enabled” right click toggle on.

    Still FF will not work. However it does work in Chrome! 🙂

    I also checked it on my mobile browsers (Chrome, FF, Dolphin,) and default for Android 4.1.2. with no luck.

    Is there a premium version of your plugin?

    Thanks again Youdaman great plugin

    Plugin Author Youdaman

    (@youdaman)

    Well it doesn’t seem to be working on either now — possibly because you have a JavaScript error with another script:

    Uncaught Error: You must specify a valid JavaScript API Domain as part of this key’s configuration.

    Thread Starter Gabriel

    (@hiredad101)

    So I deleted the last plugin to get it back in Chrome.

    Now I just have to figure what plugin is stopping it in FF.

    Any suggestions?

    Plugin Author Youdaman

    (@youdaman)

    Well that’s annoying — seems there is a bug in Firefox.

    It _should_ work. The CSS tells that element to have position:fixed and sets top:0 and also the width… so the solution would be to find out why Firefox doesn’t work while the other browsers do.

    My guess is there is an extra step I need to add with the CSS, like for the parent element or something like that.

    I’ll try to work it out but I’m sorry if I can’t come up with something.

    Plugin Author Youdaman

    (@youdaman)

    I looked at my own site in Firefox and it seems to work fine:

    http://sticky-element.com/

    So my only guess with your site is that the structure of the HTML/CSS doesn’t play well with my plugin. Possibly due to other JS on the page that manipulates things like the big photo/slider thing, or not, I’m not sure.

    Again I’ll try to see if I can work out the problem, but apologies if I cannot.

    Plugin Author Youdaman

    (@youdaman)

    I’m guessing things worked out but if not feel free to open another support issue 🙂

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Tried different Id and classes with no luck.’ is closed to new replies.