The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

'filling' space between content blocks (4 posts)

  1. visualgrasp
    Posted 3 years ago #

    Hi there,

    I've made a website with a theme (Oxygen) that has space between the different block elements, such as sidebar, header and content.
    When I want a background colour or image, you see the different white blocks and image or colour running between them.

    I'd like to have one big white block from left sidebar to right sidebar, so that a background color or image is only visible left and right of the design, not inbetween the elements.

    Any CSS magic I can have working for me?

    Thanks so much!

  2. W.P. Ginfo
    Posted 3 years ago #

    Please give the url and theme of your site so we can give 'made to measure' advice.

  3. visualgrasp
    Posted 3 years ago #

    Hi there, we're on http://www.visualgrasp.nl

    I haven't installed a background image or colour at the moment, as we'd like to resolve out first ;)


  4. W.P. Ginfo
    Posted 3 years ago #

    Hi visualgrasp,

    It is not entirely clear what it is you want to do / what the endresult should look like.
    So let me give you some hints / options.
    !!But first check the bottom of this article about the precautions!!

    Add the following code to the style.css of your 'childtheme' [see below]
    Change the color of the background:

    .wrap {
        max-width: 940px;
        margin: 0px auto;
        position: relative;
        background-color: #99cc66; /* you can change the color code*/

    Change the background-image:

    .wrap {
        max-width: 940px;
        margin: 0px auto;
        position: relative;
        background-image:url('paper.gif');/*replace with your image*/

    Consider putting your graphics on a transparent backround? save them as a PNG-graphics file, to preserve transparency.

    Je weet vast al dat er ook een Nederlandstalig forum is?

    ALWAYS Make a backup of your site, before making any changes!!

    1. Use FTP to backup the files.
    2. Make sure to also backup your database.
    3. http://codex.wordpress.org/Backing_Up_Your_Database

    4. Don't make any changes to a theme itself. Instead make the changes to a childtheme. Should the author of your original theme update the theme, your changes will not be overwritten. Your site with your adaptations will remain intact.
      Use a childtheme to make the changes in
      Suggestion: use the 'one click childtheme plugin'.
    5. suggested reading:


Topic Closed

This topic has been closed to new replies.

About this Topic