• Resolved Parwaiz Khan

    (@parwaiz-khan)


    Hello Hueman Team,
    After changing the site layout from ‘s1’ , ‘content’ , ‘s2’ to ‘content’ , ‘s2’ , ‘s1’ format, the background color of the sidebar s2 reverted back to its default background color (grey) setting. Here is the css code in my child theme:

    .sidebar.s2,.sidebar.s1 {
    background: #FFFFFF !important;
    }

    The site is: https://lifevibrant.com

    [note: the code works OK if I change back to the original layout – sidebar s1 keeps on obeying the css code on layout change]

    Any idea what is causing is, and what my be the solution to fix it – Is it the ‘parent-child’ relationship that somehow has formed with the changed layout?

    Thank you for any suggestions.

    Parwaiz

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Parwaiz Khan

    (@parwaiz-khan)

    Well, I did figure it out – For those who may be having the same issue, here is the code that will accomplish the objective:

    .main-inner {
    background: #ffffff !important;
    }

    Of course, color can be of your own choice.

    Thank you.

    Hi,

    Please set this thread to resolve, if you do not require any help.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar s2 background color CSS not working after layout change’ is closed to new replies.