Deleting the white content box

Home Forums Automattic Elemin Deleting the white content box

Tagged: , , ,

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #105741 Resolve

    dulaurent
    Member

    Hi, could someone help me with deleting the white ‘content’ box’? I want the content to sit directly over the background, which is a flat colour to match my corporate look. I tried the CSS code that was suggested on here some time back but it didn’t work.
    Thank you

    The blog I need help with is laurentdunienville.com
    #130851

    philiparthurmoore
    Member

    Hi there. Try this Custom CSS:

    #page {

    background: none;

    border: none;

    }

    Hope that helps!

    #130947

    dulaurent
    Member

    Hi. Thanks so much. It worked! However, I’m left with the shadow graphics which sit underneath. Can they be dealt with?

    Regards

    #130965

    philiparthurmoore
    Member

    Yep! Try this:

    #page:before,

    #page:after {

    box-shadow: none;

    }

    #131052

    dulaurent
    Member

    thank you so much. I have two other questions:

    Can I view the site without publishing it to the public so I can see how it’s working?

    And, is it possible to centre the page’s title?

    Thanks

    #131054

    Michael Fields
    Member

    Can I view the site without publishing it to the public so I can see how it’s working?

    Yes, you can set the entire blog to private by visiting Settings → Reading and then setting the “Site Visibility” option to “I would like my site to be private, visible only to users I choose”.

    And, is it possible to centre the page’s title?

    Do you mean the “Solving crime with hypnosis” title? Would you like all page titles to be centered or just the one on the homepage?

    #131061

    dulaurent
    Member

    On the About page for example. The heading ‘About Hypnosis’, can that be altered/centred/made smaller?

    #131063

    Michael Fields
    Member

    OK, I see. Yep! Please try the following code:

    .page-title {
    text-align: center;
    }

    This will center the title on all pages (not post or post archives though).

    #131065

    dulaurent
    Member

    Awesome. Thank you.

    :)

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Deleting the white content box’ is closed to new replies.