WordPress.org

Ready to get started?Download WordPress

Forums

Changing the max-width of the text in the body (3 posts)

  1. enigma2k
    Member
    Posted 4 years ago #

    Hi,
    I would like to change the width of the content of this site: http://www.effectivelanguagelearning.com/language-guide/spanish/ that it's about the same size or less as the navigation bar.
    I have already found the max-width in the style.css. Changing this also effects the header with the search box, but I only want to change the content part of the site and leave the header the way it is.
    Is there any other way to change just the text block and leaving the header alone?

    .block-content{
      width: 100% !important;
      width: 960px; /* for ie 6 */
      min-width: 780px;
      max-width: 1200px;
      margin: 0 auto;
      display: block;
    }
  2. alchymyth
    Forum Moderator
    Posted 4 years ago #

    at the end of style.css, insert for instance (or any other width, such as 800px, or similar):

    .page {width:75%;}

  3. enigma2k
    Member
    Posted 4 years ago #

    @alchymyth

    thank you, it is working. thanx a big time for this simple solution!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.