• Resolved SeanActually

    (@seanactually)


    Hey internet people,

    I’m wondering if I could get some help with an issue that is slowly driving me mad. I’ve got a very simple outline in mind for a website, but to do that the idea is to have the pages (meaning the box the text sits in, not the background) use custom colours. Black, to be specific. WordPress does not seem to like this idea.

    I know there’s a thousand threads about this, and I’ve read all of them, but whenever I enter the code in my custom CSS plugin (.page-id-88 #content article { background-color: #000000; } and the like), or directly into the theme’s stylesheet, nothing happens. I’ve tried creating a child theme as well, and I may have simply not done it properly (I’m very much a beginner still), but that ended in equal disappointment.

    I’m running the Sydney theme, updated, and the latest version of WP. The website’s seanazoulay.com (there’s nothing there right now, just that infernal white blob of a page). If anyone has any ideas or advice, I’d be immensely grateful.

    Thanks for reading.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Try this:

    .page-id-88 #content article {
    	background-color: #000;
    	overflow: hidden;
    }

    it is really cool

    I’m not sure if you’ve fixed this issue yourself but your stylesheet is showing the following CSS which is working as you would expect:

    .page-id-88 #content article {
        background-color: #000000;
    }

    It is also showing up twice in your stylesheet so you should probably delete one of them.

    Thread Starter SeanActually

    (@seanactually)

    Thanks for all the quick responses!

    I fixed the double coding, thanks for noticing that. And it is working…to an extent. It makes the text box black, but not completely. There’s still a white blob between the black background and text box that isn’t affected (maybe WordPress doesn’t consider part of the page?). I tried that code NeoTechnomad, but didn’t seem to do anything differently.

    Out of curiosity, I’ve heard there’s a version of the custom CSS editor that you pay for (and isn’t a plugin). Does it make a difference which you use? And thanks amaya. ??

    There’s still a white blob between the black background and text box that isn’t affected

    This…

    .page-id-88 #content article,
    .page-wrap .content-wrapper {
    	background-color: #000;
    	overflow: hidden;
    }

    Thread Starter SeanActually

    (@seanactually)

    You are god. Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Page Colour’ is closed to new replies.