WordPress CSS Background images not appearing

As said in the title, the background images for my website are not appearing. I am very new to wordpress. I have managed to get normal images in the HTML files to appear <img src="<?php echo get_bloginfo('template_url');?>/images/image01.jpg" alt="image description" width="1269" height="441" />
but for some reason, all the images in my css wont appear. I have done some research while trying to fix this problem, the most common answer is to format the css like so:

.logo{
    background:url("/images/logo.png") no-repeat; }

but this is not working.

Read More

Any help will be appreciated.

Thanks in advance, Tom

EDIT:
link to the stye.css in the header.php file:

<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />

Related posts

Leave a Reply

5 comments

  1. If You are Creating a theme from the scratch means…

    *make sure your background image in image folder within your custom theme folder

    *then include the image from your custom theme folder

    css file

        .header{
             background: url("../custom_theme_folder_name/images/123.png") repeat;
        }
    
  2. It’s possible that the adress in your source attribute is not starting where you think it is (meaning you probably don’t start from the root node). try this:

    .logo{
        background:url("../images/logo.png") no-repeat; }
    

    or this

    .logo{
        background:url("../../images/logo.png") no-repeat; }