• Resolved Northstar7

    (@northstar7)


    Hi, I’ve been trying to get your plugin to work with a site built on the Divi theme from Elegant Themes.

    I can’t get it to work, and I don’t know if it’s because I’m doing something wrong or because the plugin doesn’t function with Divi.

    Do you have any information on this?

    Thanks

    https://www.ads-software.com/plugins/cb-parallax/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Demis Patti

    (@demispatti)

    Hello Northstar7

    This plugin works with your theme.
    As mentioned in the readme file, you should set your theme’s layout to “boxed”. Since your theme doesn’t seem to provide such an option, I provide you with three different sets of styles to create a boxed layout, so you can see this plugin in action. Just add (one of) the following styles to your (child-)theme’s stylesheet, at the end (the value may vary, so you may have to try a little):

    /* All content boxed (header, content, footer) */
    #page-container {
    margin: 0 auto;
    width: 100%;
    max-width: 1144px;
    }

    #main-header {
    margin: 0 auto;
    width: 100%;
    max-width: 1144px;
    }

    /* Content only boxed (header, content, footer) */
    #main-content {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 20px 32px;
    width: 100%;
    max-width: 1144px;
    }

    /* Content and footer boxed (header, content, footer) */
    #main-content {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 20px 32px;
    width: 100%;
    max-width: 1144px;
    }

    #main-footer {
    box-sizing: border-box;
    width: 100%;
    max-width: 1144px;
    margin: 0 auto;
    }

    You also have to add the following style to your stylesheet, it is needed by all three sets (the value may vary, so you may have to try a little):

    #cbp_image_container {
    top: 50px !important;
    }

    I hope this helps! If you like this plugin and it’s support, you may rate it somehow ??

    Thanks for using this plugin. Have fun!

    Demis

    Thread Starter Northstar7

    (@northstar7)

    Hi, thanks so much for your reply.

    Hi, I tried all three CSS options and got pretty much the same result with each:

    The background is fixed and the foreground type scrolls, but the page with the foreground type is opaque. I cannot see the image except at the edge of the foreground page.

    Is there a way to change the opacity of the foreground so I see the type only and not the foreground page itself?

    The site is only on localhost now, so I don’t have a way to share it with you.

    Thanks very much,

    Dhruva Hein

    Thread Starter Northstar7

    (@northstar7)

    Hi, never mind.

    I just added this to main-content:

    background-color : transparent;

    That did the trick.

    Thanks!

    Plugin Author Demis Patti

    (@demispatti)

    Hi Northstar7

    I’m glad you could figure it out.

    Cheers,

    Demis

    Demis

    (@onemorenerd)

    Marked as resloved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Does this plugin work with Divi?’ is closed to new replies.