• Resolved jarr24

    (@jarr24)


    Hi,

    I’ve got problem with Gutenberg footer section when I’m using My Library template. On backend everything is allright but on frontend i’ve got perfect rendered html output without css settings. There’s no styles appended to html elements. Any idea how to fix it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @jarr24,

    Please explain your issue, including screenshots, URL, and any other document, so we can understand and check it better.

    You can upload your files to one of the following online services:
    https://postimages.org
    https://loom.com
    https://drive.google.com
    https://wetransfer.com
    https://dropbox.com
    Or any other service you know.

    _______

    However, it could be a cache issue, so if you have any cache plugin or server cache(CDN / Browser Cache and Cookies and …), you need to clear its cache contents or disable them to see your changes. Also, in Elementor, please don’t forget to click on the regenerate all assets file and data in Elementor > Tools; and finally use hard-refreshing keys and recheck the issue.
    To refresh the page, please follow the steps explained in this link:
    https://www.documate.org/automation/what-is-a-hard-refresh-how-to-do-a-hard-refresh-in-any-browser/
    https://www.usmobile.com/blog/how-to-do-a-hard-refresh-on-your-browser/

    Summary:
    Win: Ctrl+Shift+R
    Mac: Shift+Command+R

    Best Regards

    Thread Starter jarr24

    (@jarr24)

    In the footer section I’ve got not rendered block styles. I’m using My Library with selected Custom template. How to render this part of website properly?

    Thread Starter jarr24

    (@jarr24)

    I found the solution. Default blocks works correctly. Turns out the problem was related to Spectra Blocks plugin. I added one line to partials/footer/widgets.php in template folder:

    (new UAGB_Post_Assets( $get_id ))->enqueue_scripts();

    		if ( ! empty( $get_id ) ) {
    
    			if ( OCEANWP_ELEMENTOR_ACTIVE && $elementor ) {
    
    				// If Elementor.
    				OceanWP_Elementor::get_footer_content();
    
    			} elseif ( OCEANWP_BEAVER_BUILDER_ACTIVE && ! empty( $get_id ) ) {
    
    				// If Beaver Builder.
    				echo do_shortcode( '[fl_builder_insert_layout id="' . $get_id . '"]' );
    
    			} else if ( class_exists( 'SiteOrigin_Panels' ) && get_post_meta( $get_id, 'panels_data', true ) ) {
    
    				echo SiteOrigin_Panels::renderer()->render( $get_id );
    
    			} else {
    
    				// If Gutenberg.
    				if ( ocean_is_block_template( $get_id ) ) {
    					$get_content = apply_filters( 'ocean_footer_template_content', do_blocks( $get_content ) );
    					(new UAGB_Post_Assets( $get_id  ))->enqueue_scripts();
    				}
    
    				// Display template content.
    				echo do_shortcode( $get_content );
    
    			}
    
    			// Display widgets.
    		}
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with gutenberg output when using My Library’ is closed to new replies.