WordPress.org

Ready to get started?Download WordPress

Forums

Full width template modification (6 posts)

  1. alkpurusha
    Member
    Posted 1 year ago #

    I have created a page and selected the full width template.
    The text entered will look vastly better if I can increase border size on each side; i.e. more right and left white space, text centre.
    How can I make this modification?

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    what theme are you using?

    can you post a link to your site to illustrate the problem?

  3. alkpurusha
    Member
    Posted 1 year ago #

    I'm using Colorway.
    Here is the link
    http://www.alkpurusha.net/WordPress/sponsor/

  4. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    possibly add these styles at the end of style.css of the child theme:

    .page-template-template-fullwidth-php .content-wrapper { width: 60%; margin: 0 auto; }
    @media only screen and (min-width: 768px) and (max-width: 960px) {
      .page-template-template-fullwidth-php .content-wrapper { width: 70%; margin: 0 auto; }
    }
    @media only screen and (min-width: 480px) and (max-width: 767px) {
      .page-template-template-fullwidth-php .content-wrapper { width: 96%; margin: 0 auto; }
    }

    adjust the width values if you need.

    general, for formatting issues, try working with a browser inspection tool such as Firebug to find out which styles are responsible for formatting which elements.

  5. alkpurusha
    Member
    Posted 1 year ago #

    OK, I have Firebug, and will check.
    Thanks.

  6. alkpurusha
    Member
    Posted 1 year ago #

    Thanks, your code worked just fine.
    I looked at the page with Firebug and there was no code which resembled yours. There was some continued reference to borders but so many it was confusing!
    Can you refer me to a source something like WordPress coding for dummies?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.