Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-17240

Remove Surplus "h1" 200px margin-right Rules

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.3.11
    • Styles

      There is a rule in the common.css file which adds a right sided margin to the H1 but further down the file there is a rule which removes that margin.

       

      There is also a rule in the bidi.css file which changes the above right sided margin to a left sided margin but further down the page there is also a rule which removes it.

       

      As it is not being used it is just adding clutter to the 2 files so it could be removed.

       

       

      File: common.css

       

      Find:

      h1 {
          /* Forum name */
          font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
          margin-right: 200px;
          margin-top: 15px;
          font-weight: bold;
          font-size: 2em;
      }

       

      Change To:

      h1 {
          /* Forum name */
          font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
          margin-top: 15px;
          font-weight: bold;
          font-size: 2em;
      }

       

      Delete:

      .site-description h1 {
          margin-right: 0;
      }

      -----------------------------------------------------------------------------------

       

      File: bidi.css

       

      Delete:

      .rtl h1 {
          margin-right: 0;
          margin-left: 200px;
      }

       

      Delete:

      .rtl .site-description h1 {
          margin-left: 0;
      }

            Unassigned Unassigned
            ForumFlair ForumFlair
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: