• Resolved nickmawby

    (@nickmawby)


    This post uses Content Views Pro to pull in other posts; the bottom entry (green background) does not have the correct ‘rows’ layout set in co-blocks in the original post.
    It can be correct by using this code in CV settings:
    /* Fix coblocks layout not show correctly in view */
    var $html = $(‘.wp-block-coblocks-row’).first().closest(‘html’);
    if ($(‘#coblocks-frontend-css’).length === 0) {
    $html.append(‘<link rel=”stylesheet” id=”coblocks-frontend-css” href=”https://bibba.com/wp-content/plugins/coblocks/dist/coblocks-style.css&#8221; type=”text/css” media=”all”>’);
    }

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘plugin only loads its style in the single post page; error with Content Views’ is closed to new replies.