• Hi,

    I would like to edit the background color of the content area of my web page. I thought that just editing .wrapper class would do the job, however it didn’t work.

    What works, is editing the background color of the article or widget area.

    Any idea why it doesn’t work with wrapper?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Are you using a browser developer tool like Firebug or the one built-in to Chrome?

    Thread Starter Romrayster

    (@romrayster)

    I am using firebug. Are there any problems with that?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    With Firebug can you see the first ‘<div>‘ underneath ‘<body>‘? I think that’s the one you want to apply the background color to.

    Thread Starter Romrayster

    (@romrayster)

    Actually, it’s not. If I would aplly it to the div under the body, the header changes as well. I only want to change the widget, the article area and the area around it.

    If I add in:
    <div id="main" class="wrapper">

    a custom css tag, it works:

    <div id="main" class="wrapper" style="background-color: white;">

    However if I change the wrapper in the css it doesn’t.

    Any idea where I can change this div tag, in which .php i can find it? Or any better solutions?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    To clarify, can you link to a screenshot that highlights the areas you want to style?

    Thread Starter Romrayster

    (@romrayster)

    Chech it here:
    https://praepkurs-tms.de/lernplan-tms/

    Now the article area is white.

    Thread Starter Romrayster

    (@romrayster)

    I would like to have the widget area and the area around as well in white.

    Thread Starter Romrayster

    (@romrayster)

    If you apply the code

    <div id="main" class="wrapper" style="background-color: white;">

    you can get an idea what I want to.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Theme: Twenty Twelve] Cannot edit the background color of wrapper’ is closed to new replies.