• Elements from visual composer that don’t display:
    – Background images
    – Background colours

    This includes backgrounds tested on the row, column and individual element.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Just done this, you need to edit the category/taxonomy template to incorporate the markup of your theme – as simple as including your post template into this file.

    Thread Starter Matt Jackson

    (@mattsapcote)

    Ok so pasting the entire post.php into a category template?

    My theme (total) doesn’t even have a category template php file.

    You can make one

    Create a file named category.php for a standard cat

    or a file named like taxonomy-term.php for a custom cat where term is the registered taxonomy name.

    Test with the example included in the plugin:

    
    <?php
        global $enhanced_category;
        //get enhanced category post and set it up as global current post
        $enhanced_category->setup_ec_data();
    ?>
    <!-- enhanced category content -->
    <?php the_post_thumbnail("medium"); ?>
    
    <?php get_template_part( 'content', 'page' ); ?>
    
    <!-- custom fields -->
    <?php
        get_post_custom();
    ?>
    
    <?php
        // If comments are open or we have at least one comment, load up the comment template
        if ( comments_open() || get_comments_number() ) :
            comments_template();
        endif;
    ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Background Elements in Visual Composer Not Showing’ is closed to new replies.