0
Welcome Guest! Login
0 items Join Now

SOLVED Error Gantry v3.2.14 & v3.1.15 in /* Typography */

    • Peter KORTGE's Avatar
    • Peter KORTGE
    • Hero Rocketeer
    • Posts: 359
    • Thanks: 3
    • Company Owner

    SOLVED Error Gantry v3.2.14 & v3.1.15 in /* Typography */

    Posted 13 years 2 months ago
    • Hi:

      Was trying to diagnose a problem with a site after it was upgraded from Joomla! v1.5 -> v2.5 and compared the gantry.css files v3.1.18 October 30, 2011 (under Joomla! v1.5), to v3.2.14 January 24, 2012 & v3.2.15 January 25, 2012 (under Joomla! v2.5.0)

      Discovered the following error in /* Typography */ - see line #20 in code snippets below.

      .left-11

      on line #20 was changed to

      .right-11

      but .right-11 is (correctly) defined on line #21?

      v3.1.18 October 30 code snippet:-
      /* Typography */
      body {font-size: 12px;line-height: 1.7em;font-family: Helvetica,Arial, Sans-Serif;}
      body.font-size-is-xlarge {font-size: 15px;line-height: 1.7em;}
      body.font-size-is-large {font-size: 14px;line-height: 1.7em;}
      body.font-size-is-default {font-size: 12px;line-height: 1.7em;}
      body.font-size-is-small {font-size: 11px;line-height: 1.7em;}
      body.font-size-is-xsmall {font-size: 10px;line-height: 1.7em;}
      form {margin: 0;padding: 0;}
      p {margin: 0 0 15px 0;}
      h1, h2, h3, h4, h5 {margin: 15px 0;line-height: 1.1em;}
      h1 {font-size: 260%;}
      h2 {font-size: 200%;}
      h3 {font-size: 175%;}
      h4 {font-size: 120%;}
      h5 {font-size: 120%;}
      h2.title {font-size: 170%;letter-spacing: -1px;line-height: 1em;}
      a {text-decoration: none;outline: none;}
      code {color: #000;margin: -1px 0 0 0;font: 10px Courier;}
      blockquote {font: italic 16px/22px Georgia, Serif;}
      .left-1, .left-2, .left-3, .left-4, .left-5, .left-6, .left-7, .left-8, .left-9, .left-10, .left-11 {float: left;margin-right: 50px;margin-bottom: 15px;display: inline;position: relative;}
      .right-1, .right-2, .right-3, .right-4, .right-5, .right-6, .right-7, .right-8, .right-9, .right-10, .right-11 {float: right;margin-left: 50px;margin-bottom: 15px;display: inline;position: relative;}
      .date-block {padding: 15px;}
       

      v3.2.14 January 24, 2012 & v3.2.15 January 25, 2012 code snippet:-
      /* Typography */
      body {font-size: 12px;line-height: 1.7em;font-family: Helvetica,Arial, Sans-Serif;}
      body.font-size-is-xlarge {font-size: 15px;line-height: 1.7em;}
      body.font-size-is-large {font-size: 14px;line-height: 1.7em;}
      body.font-size-is-default {font-size: 12px;line-height: 1.7em;}
      body.font-size-is-small {font-size: 11px;line-height: 1.7em;}
      body.font-size-is-xsmall {font-size: 10px;line-height: 1.7em;}
      form {margin: 0;padding: 0;}
      p {margin: 0 0 15px 0;}
      h1, h2, h3, h4, h5 {margin: 15px 0;line-height: 1.1em;}
      h1 {font-size: 260%;}
      h2 {font-size: 200%;}
      h2.title {font-size: 170%;}
      h3 {font-size: 175%;}
      h4 {font-size: 120%;}
      h5 {font-size: 120%;}
      a {text-decoration: none;outline: none;}
      code {color: #000;margin: -1px 0 0 0;font: 10px Courier;}
      blockquote {font: italic 16px/22px Georgia, Serif;}
      .left-1, .left-2, .left-3, .left-4, .left-5, .left-6, .left-7, .left-8, .left-9, .left-10, .right-11 {float: left;margin-right: 50px;margin-bottom: 15px;display: inline;position: relative;}
      .right-1, .right-2, .right-3, .right-4, .right-5, .right-6, .right-7, .right-8, .right-9, .right-10, .right-11 {float: right;margin-left: 50px;margin-bottom: 15px;display: inline;position: relative;}
      .date-block {padding: 15px;}
       

      Lastly, can anyone explain why "font-size: 1.2em;" is needed in /* Lists */ on line #68 of the gantry.css file? - shown in line #4 in snippet below:-
      /* Lists */
      ul, ol {padding-left: 15px;}
      ul li {padding: 0;margin: 0;}
      ul li a {font-size: 1.2em;line-height: 1.8em;}
      ul ul {margin-left: 25px;padding: 5px 0;}
      ul li.author {margin: 0;letter-spacing: 1px;list-style: none;font-weight: bold;text-align: right;}
      ul li.date {margin: 0;letter-spacing: 1px;list-style: none;text-align: right;font-weight: bold;}
      ul li.comments {list-style: none;text-align: right;font-weight: bold;}
      ul li.author span, ul li.date span, ul li.comments span {display: block;font-weight: normal;margin-bottom: 10px;line-height: 1em;}

      What this code does (on the Panacea template) is make URL's in articles appear in a larger type font. With every Gantry upgrade I have to go in and delete it :cry:
    • Last Edit: 13 years 2 months ago by Peter KORTGE.
    • Great minds discuss ideas; Average minds discuss events; Small minds discuss people.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED Error Gantry v3.2.14 & v3.1.15 in /* Typography */

    Posted 13 years 2 months ago
    • thanks for reporting ... I will add a ticket for this for devs ...

Time to create page: 0.049 seconds