Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem using blur.js on bootstrap navbar in Wordpress #41

Open
Roejkum opened this issue Mar 10, 2015 · 2 comments
Open

Problem using blur.js on bootstrap navbar in Wordpress #41

Roejkum opened this issue Mar 10, 2015 · 2 comments

Comments

@Roejkum
Copy link

Roejkum commented Mar 10, 2015

Hi

I'm trying to integrate the blur.js on my bootstrap navbar-default in a wordpress theme I'm developing (http://itu.dk/people/mron/wordpress/). I want everything behind the navbar to be blurred as you scroll down the site. I should probably mention that I'm fairly new to programming.

I have linked to the file on my server from functions.php, and included the following code in my header.php, but within the body tag:

<script>
        $(document).ready( function() {
            $('.navbar-default').blurjs({
                source: 'body',
                radius: 30,
            });
        });
</script>

It isn't working, and I don't know why. Have I done anything wrong?

@redpandatronicsuk
Copy link

@Roejkum
Copy link
Author

Roejkum commented Mar 10, 2015

Thanks! However there seems to be some problems with that solution (when resizing the window). Also I can't get that working either. Would it be impossible to implement the blur.js as I'm describing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants