Image not shown in the theme as it’s showing in HTML template

Question

I’m working on a theme creation in WordPress. When I add <?php bloginfo('template_directory'); ?> before an image tag, it didn’t work, and also I gave image url in .css file

#about-bg-diagonal {


     width: 60%;
     height: 700%;
     float: right;
     background-image: url(../img/bg-about.jpg);
     border-left: 200px solid white;
     border-top: 700px solid transparent;

 } 
0
, hadi butt 11 months 0 Answers 65 views 0

Leave an answer