• My site’s at https://www.xihuaonline.com/xihua
    I’m using a modified version of ism theme from hso.

    I’m trying to add a background image (xihuaonline.com/xihua/wp-content/themes/ism/images/star.jpg)to the div #content, but for some reason it never shows up when I add the code in. It doesn’t show up on either sidebar when I add the code to the sidebar, too. Can anyone take a look and diagnose my problem? Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter joeyjoejoe

    (@joeyjoejoe)

    I want it to be aligned top left, and yes I know the code for it. Sorry, just a clarification. Thanks

    What if url(/xihua/wp-content/themes/ism/images/star.jpg) instead?

    Thread Starter joeyjoejoe

    (@joeyjoejoe)

    Nah, I’ve got the url right and in the code it’s url(images/star.jpg), but it never shows up for some reason.

    Thread Starter joeyjoejoe

    (@joeyjoejoe)

    I still can’t get it up and I’m certain I’ve got the right code in. Anyone else with this problem?

    Thread Starter joeyjoejoe

    (@joeyjoejoe)

    can i get a bump

    youve broken your CSS

    #content {
    
    	width:50%;
            padding:0px 16px 0 16px;
    	float:left;
    	font-size:1.2em;
    	border-left:1px dashed #000000;
    	border-right:1px dashed #000000;
    	border-bottom:20px solid #fff
    	background-image: url(https://www.xihuaonline.com/xihua/wp-content/themes/ism/images/star.jpg);
    	background-repeat: no-repeat;
    	background-position: top left;
    }

    you are missing the closing ; after this:

    border-bottom:20px solid #fff

    3 weeks and you couldnt figure that out? Please bookmark this site:

    https://jigsaw.w3.org/css-validator/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Background image issue’ is closed to new replies.