I have to set up this function, which gets a value out of a custom field in a Wordpress article editor. It works and displays the price I inserted in the editor (e.g. 20,00)
BUT I can't style it using css.
<div class="price">
<p>
<?php echo '<div class="price">'. get_post_meta( get_the_ID(), 'price', true).'</div>'; ?>€
</p>
</div>
This is my css file:
.price { font-size:50px; color:#8e8e8e; }
Why does the css not apply to the code?