block.css not loaded in live page
-
page content is loaded – like this:
<div >
<?php $myquery = new WP_Query(‘page_id=33’);?>
<?php while ($myquery->have_posts()): ?>
<?php $myquery->the_post();?><div <?php post_class();?> >
<?php the_content();?>
</div><?php endwhile;?>
<?php wp_reset_postdata();?>
</div>Block slugname:
thegridblock files:
blocks/thegrid/block.php
blocks/thegrid/block.cssEverything is fine in the editor but on the live page the CSS does not load at all.
The block content html and images do load but the css does notFor now, i paste the whole css block into block.php as a fix….
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘block.css not loaded in live page’ is closed to new replies.