Home Forums WoodMart support forum Row Background Problem

Row Background Problem

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #25106

    sagraphics
    Participant

    I have tried to set a background image for a row in visual composer and it’s not working. Image is set but doesn’t show in frontend.

    #25113

    Artem Temos
    Keymaster

    Hello,

    We are glad to know that you considered using WoodMart for your web-site. I hope you will be happy with it.

    Could you please send us a link where we can see this issue on your side?

    Kind Regards
    Xtemos

    #25114

    sagraphics
    Participant

    Hi Artem. Yes:

    https://www.maiseymoo.co.uk/shop/

    The newsletter signup process should have a background image

    #25117

    Artem Temos
    Keymaster

    Could you please provide us your admin access so we can check?

    #25118

    sagraphics
    Participant

    sent privately

    #25134

    Artem Temos
    Keymaster

    Try to add the following code snippet to the functions.php file in the child theme to fix this issue

    function woocommerce_product_archive_description() {
            // Don't display the description on search results page.
            if ( is_search() ) {
                return;
            }
    
            if ( is_post_type_archive( 'product' ) && 0 === absint( get_query_var( 'paged' ) ) ) {
                $shop_page = get_post( wc_get_page_id( 'shop' ) );
                if ( $shop_page ) {
                    $description = wc_format_content( $shop_page->post_content );
                    $shop_page_css = get_post_meta( $shop_page->ID, '_wpb_shortcodes_custom_css', true );
                    if ( $description ) {
                        echo '<div class="page-description">' . $description . '</div>'; // WPCS: XSS ok.
                        if ( ! empty( $shop_page_css ) ){
                            ?>
                                <style type="text/css" data-type="vc_shortcodes-custom-css">
                                    <?php echo $shop_page_css; ?>
                                </style>
                            <?php
                        }
                    }
                }
            }
        }
    #25219

    sagraphics
    Participant

    Thank you, that seems to have worked!

    #25226

    Artem Temos
    Keymaster

    Great, you are welcome!

Viewing 8 posts - 1 through 8 (of 8 total)