Uploaded image for project: 'Newsletter'
  1. Newsletter
  2. NEWSLETTER-220

The order of priority of css rules are not applied correctly on the newsletter

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9.0
    • 1.9.0
    • None
    • FF & gmail

      How to reproduce :

      In the code HTML we have :

      <div class="newsletter-content">
      	<div class="ametys-cms-content news view-abstract vevent withIllustration wrapper">
      		<h3>My title</h3></div></div>

      In the styles defined in the head tag we have in that order :

      .newsletter-content h3{ font-size:1.1em; }
      .newsletter-content .ametys-cms-content h3{
      	font-size:1.2em;
      }				
      .newsletter-content .ametys-cms-content h3{ clear:none!important; font-size:1.3em; }
      

      In the mailer we received that :

      <h3 style="font-size:1.3em;font-size:1.2em;font-size:1.1em;">My title</h3>

          [NEWSLETTER-220] The order of priority of css rules are not applied correctly on the newsletter

          Laure Lopez added a comment -

          The property !important like :

          .newsletter-wrapper p a{ color:#00ffff!important; }

          should also be applied in priority whereas it is not.

          Laure Lopez added a comment - The property !important like : .newsletter-wrapper p a{ color:#00ffff!important; } should also be applied in priority whereas it is not.

            trizzi Thibaut Rizzi (Inactive)
            llopez Laure Lopez
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: