We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2878
    • 81 Posts
    All my CSS is working fine except for whatever is placed in the Resource Content area?
    Chunk is coded like this. >
    <div class="SC_title03"><h3>[+pagetitle+]</h3></div>  
    <p class="SubContent">[+introtext+]</p> 
    <p class="SubContent">[+content+]</p> 


    I’m assuming from what I could find that +content+ is what should style the Resource Content since that is what is showing in that area, but the only way I can get the CSS style to take is to code it directly in the Resource Content window. That will be to much for my client to wrap his/her head around! There must be a work around this.

    Thank you in advance for any and all help.
    bauhaus9
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      <p class="SubContent">[+content+]</p> 

      The problem with that is using the RTE (TinyMCE) in the backend. It automaticly wraps text in paragraphs.

      A workaround could be to use a div with the SubContent class instead of a paragraph. That’ll require you to modify your CSS a lil’ bit but solve your problem.
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
        • 2878
        • 81 Posts
        This adjustment works nicely!
        I should have recognized this, oh well.

        Thank you very much for your help.
        bauhaus9