Support » Fixing WordPress » How to make the body/content section transparent

  • Resolved dbowles

    (@dbowles)


    Hi all. As so many people have asked this question, i’ve got the principle in what needs to be done but I can find the right place in my style.css.

    This topic shows what i want to do:

    The website i’m working on is this – as you can see i have a background but I want the text background to be transparent.

    I’m using the Twenty Eleven theme, if needed I can post the style.css code. Can somebody please advice which bits I need to alter.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    Forum Moderator

    Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes.

    First, one should not edit the twentyeleven theme, but instead create a Child Theme. Once created, add this to your Child Theme stylesheet:

    #page, #site-generator {
    background-color: transparent;
    }

    Creating a child theme allows for easy customization of the site and also allows a theme update to occur without affecting your customization

    hi guys, sorry for the delay in replying. OK i’ll create a child theme. It would make sense actually!

    I’ll give this ago and submit another question if i get stuck. But for now i’ll mark this as closed.

    Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to make the body/content section transparent’ is closed to new replies.