• Hello everyone
    I’m using GlossyBlue theme in my -not published yet- blog. I want the web to be centered and to have space at both sides, space which will be larger depending on the resolution. Until now it’s ok, the theme is perfectly prepared.
    The problem comes with the backgrounds: when I put
    body {background: #color;} the whole site, including the space at the sides, comes of that colour. I don’t want that. I want to have color only in the background of the central part of the web.
    Looking at the theme code, I thought that the div #page would be the container div, but when I put a background on #page it only shows a tiny line of background, near the header.
    So… any ideas? anybody working with the same theme?
    Thanks very much and sorry for my english, it’s a little bit rusted.

Viewing 4 replies - 1 through 4 (of 4 total)
  • i am not going to download the theme to look at this;
    however, trying to add a padding left and right to #page might give you just the space you want.

    if you can provide a link to your site you might get more help.

    Thread Starter maialen

    (@maialen)

    Thank you for answering. I cannot put a link of my site yet because I’m not autorized to do so.
    I think I may have not explain correctly the problem. I would like to find the div which contains the rest of the divs, to put a background in it.
    In glossyblue the code starts at header.php:

    <head>

    </head>
    <body>
    <div id=”page”>
    <div id=”header”>

    </div>
    <!–/header –>

    and then goes to page.php, sidebar.php and footer.php, where we have the </body> tag.
    That’s why I thought that #page included the rest of the divs, #header and so on, but putting a background in #page is not working, so I guess I’m wrong. But there isn’t (or i cannot find it) any other div which contains the others. I have tried to create one myself, but I am not sure of where to put the ending </div> (at footer.php just before </body>?) and it’s not working either ??

    Thank you

    yes, the queen-div-of-divs is #page – that is the first div started after body;
    it might however sit around the other divs like a rubber-glove on a hand.
    and the only way, i can think of, to get some ‘space’ around it that you can influence with a background style, is to add a padding to #page.
    have you tried that yet?

    Thread Starter maialen

    (@maialen)

    thank you, but it does not work. It adds space at both sides of the header, moving the body background, but it does not show the #page background in the rest of the site.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t find div container or similar at GlossyBlue theme’ is closed to new replies.