We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15745
    • 92 Posts
    I tried changing the color of just one word in a paragraph to highlight it. But when I highlight the word and click the ’edit CSS style’ button it changes the color of the text in the entire paragraph. Is there a way to just change the font/ color of one or a couple of words instead of a complete paragraph?
      Version: 0.9.6.3
      North Shore Web Design
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Doesn’t look like it. It appears to add inline style to the nearest preceding container tag, in this case the <p> tag. Since <color> tags are not valid XHTML, I suppose this was the best MoxieCode could do. I would think that perhaps adding a span element to the Format dropdown might help; not sure how that would be done though.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org