Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #30157
    edwin
    Guest

    I am having trouble with post and page builder plugin and creating a haven child theme. I’m experienced with WordPress and creating child themes. For some reason (I’m still troubleshooting) the post and page builder css (i.e. editor-fe.min.css) are getting called from the public facing pages in the Haven child theme. They are not being called in the non-child theme. This has the effect of overwriting the boldgrid-theme-framework.min.css rules.

    #30158
    arnelc
    Guest

    Hello Erosche,

    Thanks for your question concerning how the CSS is being called when you create the child theme. We would need more information on how you are creating the child theme in order to troubleshoot the issue. If you are making only a few changes, you can also use the Custom CSS option within the Customizer (under Advanced).  Changes saved in that section would not be removed by a theme update.  Please provide a little more information, such as the URL in question and how you’re creating the child theme, then we would be able to investigate the issue in more depth.

    #30159
    edwin
    Guest

    Thanks arnelc! I figured out the issue has to do with how the Post and Page Builder plugin is checking if the theme is a BoldGrid theme. Line 75 of /posts-and-page-builder/includes/class-boldgrid-editor-theme.php uses the value of Text Domain from style.css in the theme’s core. it checks to see if it says ‘boldgrid’ anywhere there.

     Your tutorial here does not include a recommendation to include a Text Domain line in the child theme’s style.css. Adding ‘Text Domain: boldgrid-haven-child’ to style.css resolved it for me. I also updated class-boldgrid-editor-theme.php to use the Template line, which the tutorial includes. Mine reads ‘Template: boldgrid-haven’. This might be a better fix since WordPress relies on the template line to refer to the child-theme’s parent, and all your themes contain the word boldgrid. Here’s my modified line 75 of /posts-and-page-builder/includes/class-boldgrid-editor-theme.php:

    strpos( $current_theme->get( ‘Template’ ), ‘boldgrid’ ) !== false )

    Your team would know best whether to make that change permanent. Hopefully people with the same problem will find their way here!

    Thanks,

    Edwin

    #30160
    BoldGrid Contributor
    Guest

    Hello and thanks for your feedback. We’ve updated the article and are creating a feature request for this.

    #30161
    Jesse Owens
    Guest

    Hi Edwin-
    I wanted to update you, our development team has just released a new version of the Post and Page Builder that resolves this issue, allowing you to use any text domain or child theme name you’d like. If you update to version 1.10.2, you’ll see the changes. Thank you very much for the feedback!

    #30162
    Jesse Owens
    Guest

    You’re very welcome! If you’d like, you can leave a review on WordPress.org for us.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Why are post and page builder plugin css called in haven child theme?’ is closed to new replies.