WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to make the body/content section transparent (4 posts)

  1. dbowles
    Member
    Posted 1 year ago #

    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.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    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.

  3. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    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

  4. dbowles
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic