where is the standart template background (4 posts)

  1. jeffreyr
    Posted 2 years ago #

    I want to create a custom theme.
    The standard worpress template has a white background with a small shadow:

    I want to remove this background.
    In which file is this main background set?
    I have tried index.php, but there is not much html code there.

    Here is a screenshot:

  2. paulwpxp
    Font hero
    Posted 2 years ago #

    Make a child theme

    or dl a blank one from here

    Make sure you don't set anything under Appearance > Background

    In style.css of your child theme, add this (with your desired color name or code)

    body {background-color:blue;}
    body .site {box-shadow:none;background-color:red;}
  3. jeffreyr
    Posted 2 years ago #

    Thank you for you answer. I want to try to edit the Twenty Twelve theme firstly. If that does not work i am going to make a child theme :)

    Doe you know where in the style.css of Twenty Twelve is the part that sets the background to a white box with a shadow?

  4. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Sorry, but it is very inadvisable to make changes to the default theme - it's crucial to have a clean copy for various troubleshooting purposes; and if you make changes to theme files they will be overwritten when WP is updated.

    Make the child theme and then make changes there.

Topic Closed

This topic has been closed to new replies.

About this Topic