• I’ve been trying to add backgrounds to parts of the comments page using a new theme in the template folder of 1.3
    since there aren’t conflicting divisions in the source code (that i can see,) i thought it would be a snap to just insert div’s with the class assigned to create three different horizontal divisions on the comments page.
    Example:
    <div class="class1">
    <div class="class2">
    into two different sections of the comments.php (the third being the regular background.)
    i double checked my links, and they’re good.
    double checked my css and it’s fine.
    my div’s are closed.
    what i expected to see was 3 different backgrounds in different portions of the page.
    1. the overall page
    2. the comment summary (x comments on post title)
    3. the comments themselves
    but nothing shows.
    how come?

Viewing 9 replies - 1 through 9 (of 9 total)
  • If you just colour a div, does that show up ?

    Thread Starter dss

    (@dss)

    i’ll go try that.

    Thread Starter dss

    (@dss)

    yes, it does.
    using div id= as opposed to div class= does indeed color the enter frame of the comments page.
    but not the entre portion of the page. must be my placement of the div.
    still, why wouldn’t an image background function?
    must be my link…

    I mentioned the colour just to test the css being applied, so if it is, and an image does not appear, it could be that.
    When I’ve had issues like this, I’ve coloured every section differently and then moved slowly from there.
    The comments form inherits elements .. maybe they are taking precedence somehow ?

    Thread Starter dss

    (@dss)

    Well, i went on and tried another link for an image:
    url(./images/image.jpg)
    works.
    however, i have not yet determined where to place the div to result in a tri-colored comments page. the images and colors seem relegated to a centered strip down the middle.
    i’ll keep on…
    thanks!

    Any use ?
    http://www.squarefree.com/bookmarklets/
    http://www.squarefree.com/bookmarklets/webdevel.html
    I find the computed styles / show blocks ones incredibly useful.

    Thread Starter dss

    (@dss)

    i got it sorted.
    it was really a matter of re examining where the div’s were, and how they closed.
    in 1.3 it’s odd, nothing really analogus… many pages to consider.
    but it’s working!
    thanks for the fuel.
    F.

    Thread Starter dss

    (@dss)

    Ack!
    it’s broken again…
    shoot.
    here’s a link:
    http://www.dubtribe.com/index.php/2004/05/21/baggage/
    the darker bar is meant to cover (formerly covered) the whole of the comments area.
    and another (different) break:
    http://www.dubtribe.com/index.php/2004/05/21/autosoul/
    this one the darker bar just sits at the bottom, and leaves an ugly space.
    this was working because i determined that i had to start the DIV for both “layers” on the index page, and close them on the comment’s page.
    and something’s gone wrong…
    F.

    Thread Starter dss

    (@dss)

    solved the problem:
    the 2 layers of bg color both begin in the “single.php”
    the top layer which stops mid comment.php ends with a “/div” just before the comments begin.
    the second layer actually ends back on the “single.php”
    the breakage was happening because i was trying to end the bottom layer in the single.php
    many things were interfering…
    close it in the single and it’s sitting happily.
    thanks again for helping me dislodge this wee piece of glass from my mind (one of so very many)
    F.

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

The topic ‘template question: 1.3.5.a’ is closed to new replies.