css background images in wordpress

Is it possible to get a background image in css like you normally would in html when working with wordpress. I’ve tried doing this but it doesn’t work

  background-image: url("<?php bloginfo('template_directory'); ?>/images/parallax_image.jpg ");

Read more here: css background images in wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *