Forum Replies Created

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

    (@siim)

    i’m sorry, but what do you mean by hardwiring into the css?
    yes, background is the page div not widecolumn but it’s defined in the header file, not in css or page template file.

    Thread Starter siim

    (@siim)

    miklb: also not working as the widecolumn div is actually not as wide as thepicture that goes for the background (kubrickbgwide.jpg). solution would be to change something in the header file:

    <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single())) { ?>

    i should add one more condition, probably using || but it doesn’t seem to work (i made a variable $sidebar in the page template before including header, gave it value true and in the header file i added condition ! $sidebar but it didn’t work – header.php even didn’t get the value of that variable. so the problem is still not resolved.

    Thread Starter siim

    (@siim)

    cramoisi: i don’t want to edit that file because it also applies to the blog’s home page (blog.mobi.ee) and also archive sections. and i’m already using .widecolumn style
    iddapidda: i’ve already removed it, but the background still remained.
    anything else i should try?

    Thread Starter siim

    (@siim)

    thanks – the main problem is solved now, but the sidebar problem still remained. i’ll go and make another topic about it because unfortunately the link you gave doesn’t give me the information i want to have.
    thanks again!

    Thread Starter siim

    (@siim)

    no, this returns a parse error:
    Parse error: parse error, unexpected T_ENDFOREACH in /var/www/html/wordpress/wp-content/themes/default/uudiskiri_2.php on line 35
    if using

    <?php if(in_category('11')) : ?>
    //displays posts
    <?php endif; ?>
    <?php endforeach; endif; ?>

    then it’s the same error that i had in the beginning (see the first post)
    really weird 🙁

    Thread Starter siim

    (@siim)

    thanks, the time stuff works fine now but now i’m into some new problems.
    with the same query, i’d like to check wether the post is in certain category but the category is in another table and i don’t know a way to make query from two tables at the same time.

    another question which is about themes: which parameter defines what picture file is included in that line:
    #page { background: url(“http://blog.mobi.ee/wp-content/themes/default/images/kubrickbgwide.jpg&#8221;) repeat-y top; border: none; }
    i’d like to have kubrickbgwide.jpg in some places and kubrickbg.jpg in the other pages.

Viewing 6 replies - 1 through 6 (of 6 total)