• Hi guys,

    I’m new to underscores theme starter.
    I installed it and make it the active theme in the admin of wordpress.
    and then I tried to add the code below in the style.css

    body {
    	margin: 0;
    
    	background-color: yellow; #added
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter iridionus

    (@iridionus)

    The problem is when I refresh the public page.
    I don’t see the background-color changed to yellow.
    I’m thinking if style.css is linked properly?
    How to fix this problem.

    Thanks in advance.

    Can you post a link to your site? One problem might be with the code you added: # is not a comment delimiter in CSS. Instead, you’ll need to use /* */:

    body {
      background-color: yellow; /* added */
    }
    Thread Starter iridionus

    (@iridionus)

    I already modified the comment.

    Will upload it asap.

    Thread Starter iridionus

    (@iridionus)

    It has duplicate in style.css
    Problem solved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Underscores, trying to change background-color’ is closed to new replies.