• Resolved marcusgrip

    (@marcusgrip)


    Hi! I have tried hard to figure this out by myself but i can´t but i am sure this is an easy problem to solve.

    Checkout http://www.astoff.se and you will se a white background where the text and stuff is, i am trying to make it transparent or at least find where it is in the code so i can change it to an image or change color. Let me know if you want to see my style.css code or some other code.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Your post content area is currently black – not white. Do you still have a problem finding the correct place to make changes?

    Thread Starter marcusgrip

    (@marcusgrip)

    Oh sorry if i was explaining wrong, i meant(i think) the page, the white background behind the one you are talking about. The other places, like the one you meant is no problem, just the white area.

    You are using a non-transparent repeating white image with the text ‘astoff’ as background for #page. If you want that to be transparent, use an image with a transparent background color instead of white.

    Thread Starter marcusgrip

    (@marcusgrip)

    that is the header and is set to no-repeat. i tested now to take it away in the code and replace with black color and it´s just black on the header and the white background is still there so it is something else but really thanks for giving me feedback on what i should try.

    what you may refer to is the image called like background_ltr or something that is found if you rightclick on the website and click “show source”(or something like that) but when i look(i have looked everywhere) for that piece of code, i can´t find it! i will try to replace that image and see if that´s the issue but since i can´t find the code i can´t change name to the file and therefore it has to be jpeg wich does not support transparency, wich is making that another problem.

    thanks! the search continues…

    Thread Starter marcusgrip

    (@marcusgrip)

    yes, i can change the image now but can´t find the code.

    i click show source in the website and it shows this piece of code some lines from the top:

    <style type=”text/css” media=”screen”>

    #page { background: url(“http://www.astoff.se/wp-content/themes/default/images/kubrickbg-ltr.jpg&#8221;) repeat-y top; border: none; }

    </style>

    the “kubrickbg-ltr.jpg” image i do find ofcourse and can change it to a color but since i can´t find the code i can´t change the name or the repeat option so i can´t make a transparent GIF image to replace it. Anyone can help me? I have seriously checked every .php or .css file that the theme is containing!

    It’s in header.php:

    <?php
    // Checks to see whether it needs a sidebar or not
    if ( empty($withcomments) && !is_single() ) {
    ?>
    	#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; }
    <?php } else { // No sidebar ?>
    	#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
    <?php } ?>
    Thread Starter marcusgrip

    (@marcusgrip)

    thanks alot man! now i see why i didn´t find it. the “-ltr” end of the image name was not included in the code, now it is fixed and i thank you alot!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘White background won´t go away’ is closed to new replies.