Support » Themes and Templates » Extremely frustrating CSS issue!

  • Resolved ThorHammer

    (@thorhammer)


    My background image just won’t appear! Why?

    Here is the actual html:

    <div id="wpinfobox">
      <h2 id="wpinfobox-title"><strong>The title</strong></h2>
       <div>
         <ul>
            <li>One</li>
             <li>Two</li>
         </ul>
        </div>
     </div>

    And here is the CSS:

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    The background image just will not appear whatever I try! But it should. Anyone extremely clever out there??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The CSS looks OK at a glance, provided the image you’re trying to call is in the same directory as the stylesheet.

    It would be easier to troubleshoot with a link to the website.

    ThorHammer

    (@thorhammer)

    Hello Sixhours!

    Here is a link:

    http://www.skrivehula.no/test/tester.html

    The image just won’t show up.

    ThorHammer

    (@thorhammer)

    I solved it!!!

    I had to remove:

    background-attachment: fixed;
    background-position: left center;
    background-size:100% auto;

    and add:
    background-origin:padding-box;

    Oh so happy…!!! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Extremely frustrating CSS issue!’ is closed to new replies.