• Resolved petervatler

    (@petervatler)


    On this site I use Insert Pages plugin to render repeating content like the “Footer” and the “Want to learn more?” pages with the diagonal backgrounds. They work fine if you see any Parent page or even the Benefits > Industries or Departments page although if you navigate further in these Categories for example Benefits/Industries/Manufacturing these inserted pages lose their diagonal background. Of course I do not have any custom CSS or JS on these Pages.

    I use a popular theme called Composer, built on WPBakery.

    • This topic was modified 4 years, 9 months ago by petervatler.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Paul Ryan

    (@figureone)

    Hard to say what the specific issue is, I know WPBakery Visual Composer lets you add custom styles in several different ways, and we try to support as many as we can.

    If you could provide more details on a specific case (like steps to reproduce from vanilla WordPress), I can get a test environment set up to try to support it.

    Thread Starter petervatler

    (@petervatler)

    Sorry for being late with my answer. I’m building another site with the same theme and I faced the same problem.

    I wanted to create a custom Footer so I created a page for it and made the layout. I managed to render to the Footer my section but again – like before – it does not transfer any css based setting what I applied in my layout by using WP Bakery. My settings appear when I preview them but after updating only the structural settings get applied.

    So it seems like somehow the plugin cannot transfer the most of the WPBakery / Visual Composer css settings.

    Plugin Author Paul Ryan

    (@figureone)

    Not a problem. We already have custom code to enqueue WPBakery Page Builder styles:
    https://github.com/uhm-coe/insert-pages/blob/master/insert-pages.php#L478-L503
    https://github.com/uhm-coe/insert-pages/blob/master/insert-pages.php#L505-L523

    But there may be another style source that you are using. That’s why we need details. If we can set up a test environment from your description, we can inspect the database to see if there’s another location where css is stored.

    It doesn’t have to be your full site, just a contrived example with at least one style that doesn’t get included. Just let us know the steps to get to that state from vanilla WordPress.

    Thread Starter petervatler

    (@petervatler)

    My environment:
    —————
    PHP: 7.3
    WordPress 5.4

    Theme:
    Composer 3.3.7

    Plugins:
    Composer Core Plugins – 3.3.7
    Contact Form 7 – 5.1.7
    Duplicate Page – 4.2
    Material Design for Contact Form 7 (Premium) – 2.6.1
    Shortcodes Finder – 1.3.0.2
    Slider Revolution – 3.19.4
    Ultimate Addons for WPBakery Page Builder – 3.19.4
    UpdraftPlus – Backup/Restore – 1.16.23
    WP File Manager – 5.9
    WPBakery Page Builder – 6.2.0

    Scenario:
    Go to Appearance / Theme Options / Footer Options
    – Set a one column Footer, marked with 12
    Create a new page for the Footer
    – Add a row and a column into it, add some Ultimate VC components like a Headings and a Create Link, try setting some hover color or style inside the component, try adding an Advanced Button and set some Background hover effect etc.
    Go to Appearance / Widgets
    – Set Insert Page to the Footer First Column and choose the created page

    As I’ve experienced with Preview everything works fine but after Updating these settings does not work. So I didn’t set any custom CSS anywhere just set the component’s settings. Of course without using Insert Pages it works fine :/ I like this plugin, it’s very useful – please help me!

    Plugin Author Paul Ryan

    (@figureone)

    Thanks for the steps to reproduce. I tried to set up a development environment to match, but discovered the relevant themes and plugins are not open source. Because Insert Pages is free and open source, we don’t support troubleshooting other for-profit software. You may want to look into support via the paid themes or plugins.

    That said, there’s likely some custom method that Ultimate Addons or WPBakery Page Builder uses to enqueue custom scripts and styles.

    We did manage to test against Visual Composer version 26.0, which I recall had a lot of overlap with WPBakery Page Builder in the past. We added new code to support more variations of custom styles and scripts here:
    https://github.com/uhm-coe/insert-pages/commit/16af24fd0d9f79c5c25f792066a52da7674acd74

    This will be included in the next release, or you can grab the latest copy from github if you want to test it right now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Inserted Page does not appear as expected on child pages’ is closed to new replies.