Site logo

Archived topic

Make All Of Homepage White

5 replies · Started by Stuart on November 21, 2020

Viewing posts 1–6 of 6

Hi there,

I'm setting up a static homepage with "WP Show Posts" Plugin to show specific posts. I couldn't figure out how to add padding to each side so that the thumbnails and titles weren't on edge, but I think an easier and better solution would be to make both sides white.

Currently, they are a slight grey, but the container for showing posts and the header are completely white, would like to match that whiteness for the entire page.

Picture: https://imgur.com/a/aCvklS5

Thanks.

So you want to remove the shadow on home page only?

If so change your CSS to this:

body:not(.home) .inside-article, body:not(.home) .sidebar .widget, body:not(.home) .comments-area {
    border-right: 2px solid rgba(0, 0, 0, 0.07);
    border-bottom: 2px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 0 10px rgba(232, 234, 237, 0.5);
}

Hey Leo,

All fixed :) I think because of the element I had to change the "body:not(.home) to (.front) then it's all white.

Thanks!

No problem :)

This archived topic is closed to new replies.