WordPress.org

Forums

Narrow content area (5 posts)

  1. dmr440
    Member
    Posted 1 year ago #

    Hi I'm trying to narrow the content area of my site. What I want to do is narrow the white area on the page and make the grey area on the sides wider. Here is my site so you can see what I'm trying to do with it: http://stopmytriggerfoods.com/

    This is for a landing page. Have been trying to solve this over the last couple of days.

    Thank you for your help.

  2. Raulanton
    Member
    Posted 1 year ago #

    Hi dmr440.

    Just to be sure to have understood... Which is exactly the problem? The text go outside of the borders when you narrow the <div id="page"> element? Or you do not know how to narrow it?

    Hava a nice day.

  3. dmr440
    Member
    Posted 1 year ago #

    Hi thank you for your reply. If you open my website and this link here: http://www.endbingeeatingnow.com/ you will notice that the white area (where the content is written) is narrower than my page http://stopmytriggerfoods.com/

    so yea I want to narrow the overall white box with the text inside. Does that make sense?

  4. Michael
    Forum Moderator
    Posted 1 year ago #

    in the custom styles, add something like:

    .site { max-width: 400px; }

    adjust the width to your needs, and remove the width: 1000px; from the .home h1 style...

  5. dmr440
    Member
    Posted 1 year ago #

    Brilliant thanks again for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.