WordPress.org

Ready to get started?Download WordPress

Forums

'filling' space between content blocks (4 posts)

  1. visualgrasp
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

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

  3. visualgrasp
    Member
    Posted 1 year 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 ;)

    Thanks!

  4. W.P. Ginfo
    Member
    Posted 1 year 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*/
        background-color:#9966cc;
    }

    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?
    http://nl.wordpress.org/support/

    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:
      http://codex.wordpress.org/Getting_Started_with_WordPress
      http://codex.wordpress.org/CSS
      http://codex.wordpress.org/Finding_Your_CSS_Styles
      http://codex.wordpress.org/FAQ_Troubleshooting
      http://codex.wordpress.org/Backing_Up_Your_Database

    Willem

Topic Closed

This topic has been closed to new replies.

About this Topic