Support » Themes and Templates » where is the standart template background

where is the standart template background

  • 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:

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


    Font hero

    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;}

    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?



    Forum Moderator

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘where is the standart template background’ is closed to new replies.