WordPress.org

Ready to get started?Download WordPress

Forums

where is the standart template background (4 posts)

  1. jeffreyr
    Member
    Posted 1 year 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:
    http://awesomescreenshot.com/0f014qfze8

  2. paulwpxp
    Font hero
    Posted 1 year ago #

    Make a child theme
    http://codex.wordpress.org/Child_Themes

    or dl a blank one from here
    http://quirm.net/themes/twenty-twelve-child/

    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
    Member
    Posted 1 year 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
    Volunteer Moderator
    Posted 1 year 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