Halfway there! Need a bit more code
-
Hi. I’m on Saga theme and want the background on posts, post previews on main blog page, and background on pages to be the same color as my main background, which is #e2d9d0
I’m halfway there with this code:
.type-post { background: #e2d9d0 !important; } .type-page { background: #e2d9d0 !important; }I can’t for the life of me find code for the remaining white that is visible on posts and pages. Thank you in advance!!!
The blog I need help with is: (visible only to logged in users)
-
I used the Chrome browser to view your site, right-clicked on the white area, and selected Inspect Element. That’s where I saw this code:
.entry-inner { position: relative; background-image: initial; background-position-x: initial; background-position-y: initial; background-size: initial; background-repeat-x: initial; background-repeat-y: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); margin: 0 auto; padding: 3em 1.5em 1.5em; }Perhaps try adding this to your CSS stylesheet:
.entry-inner { background-color: inherit; } -
- The topic ‘Halfway there! Need a bit more code’ is closed to new replies.