We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33982 ☆ A M B ☆
    • 476 Posts
    I've got a MODx site (2.1.5-pl traditional) using tinymce 4.3.0 pl. In the System Settings for Rich-Text Editor, I've set "Path to CSS file" to the CSS file for the front end site. The Resource Content area shows many of the styles correctly for the fonts (i.e. color and sizes), but the colors for the h1-h6 tags is inconsistent (font-sizes are different, colors, etc.). I've double checked the CSS file to make sure there's only 1 value for each instance of a "H" tag, cleared the cache, etc. but nothing is working.

    Curious if there's a setting I'm overlooking or if anyone else has had this issue.
      Precision Web Development ... SmashStack.com
      • 3749
      • 24,544 Posts
      Do the heading tags possibly have "style" attributes?

      Firebug should tell you where the color is coming from. Click on the inspect arrow and then on a heading.


      ---------------------------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
      MODx info for everyone: http://bobsguides.com/modx.html
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 33982 ☆ A M B ☆
        • 476 Posts
        @Bob ... I just found the problem. If logged in this way everything worked fine:

        http://sitename.com/manager

        If logged in with "www", the "H" tags do not behave properly:

        http://www.sitename.com/manager

        So on lines 17-19 of the .htaccess file in the root dir, I changed the values to:

        RewriteCond %{HTTP_HOST} .
        RewriteCond %{HTTP_HOST} !^sitename\.com [NC]
        RewriteRule (.*) http://sitename.com/$1 [R=301,L]

        This fixed the problem. [ed. note: flinx777 last edited this post 14 years, 8 months ago.]
          Precision Web Development ... SmashStack.com
          • 3749
          • 24,544 Posts
          Good catch. Not forcing www or non-www can cause all kinds of weird and hard-to-diagnose problems. We should probably strongly advise people to set one or the other in .htaccess. I've filed it as a request http://bugs.modx.com/issues/6957


          I'm glad you got it sorted.

          ---------------------------------------------------------------------------------------------------------------
          PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
          MODx info for everyone: http://bobsguides.com/modx.html

            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
            • 33982 ☆ A M B ☆
            • 476 Posts
            Yeh, having people decide which URL they want will help a lot. Thanks for submitting that.
              Precision Web Development ... SmashStack.com