Textbook Theme – Remove White Background

  • Unknown's avatar

    Hi, I have been struggling to remove the white background that appears around the written block. Tried various CSS – but nothing seems to work.
    Does anyone know how I could remove this?
    Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hello!

    Your site is only visible to staff right now, so I will add a modlook tag to flag this thread for staff attention.

    FYI: your WordPress.com plan includes live chat support to help with CSS issues like this. Staff frequently recommends live chat support as an interactive way to get help faster.

  • Do you mean the background for the post excerpts on the front page, or that big rectangle around all of them?

  • Unknown's avatar

    Hi!

    Yes, the big white rectangle that appears around them. I have a blue colour for my paragraph box and the box surrounding it, but when I publish I get a white border around it.

  • Hi there!

    If I understood correctly as to what you’d like to change, this piece of CSS should help:

    .site-content {
        background: #061933;
    }

    I added the same color as your current background but you can reply the color code to any color you want to use.

    I hope that helps :)

  • Unknown's avatar

    Hi fresatomica,

    Thanks for the CSS – I think what I am looking at is the padding and the margin of the box – I am trying to remove them. I am quite new at this (sorry if I am not clear at all). I am inspecting the CSS of the original and trying to remove those.

    Thanks again for your help!

  • Unknown's avatar

    I was looking at this code:

    element.style {
    }

    @media
    screen and (min-width: 37.5em)
    .page .page .entry-content, .single .hentry:not(.post) .entry-content {
    padding: 27px 81px;
    }

    When I untick the padding button it does what I want – but I cannot get it to save. Is there something I am doing wrong?

    I tried copy pasting it into the additional CSS – but no luck :(

  • Unknown's avatar

    Hi, last message.

    I managed to solve this, using this code:

    element.style {
    }


    @media
    screen and (min-width: 37.5em)
    .page .page .entry-content,.single .hentry:not(.post) .entry-content {

    }

    .page .page .entry-content, .single .hentry:not(.post) .entry-content, .error404 .not-found .page-content, .search-no-results .not-found .page-content {
    padding: 0;
    }

  • The topic ‘Textbook Theme – Remove White Background’ is closed to new replies.