[Support request] Custom Text Color not saving

Home Forums Support Custom Text Color not saving

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #401453
    Louie

    Problem:
    I highlight some text.
    Choose a custom color.
    Works during the session. I see color I selected in one of the Custom boxes at the bottom of the chart of colors.
    When I come back, I need to re-enter the RGB numbers again.
    How do I save this so I do not have to change it every time.
    Thanks.

    #401496
    Leo
    Staff
    Customer Support

    Hi there,

    Using lots of inline style is not recommended.

    Might be best to do this in the text editor:
    <span class="special-color">special color text here</span>

    Then add this CSS:

    .special-color {
        color: #353e84;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    This way when you want to change the color, you only have to do it once in the CSS.

    #401527
    Louie

    Thank you Leo.
    After reading though it, if I understand, I would still have to edit the HTML on the page each time.
    If that is correct, it would probably be as big a hassle.

    #401581
    Leo
    Staff
    Customer Support

    You would just have to change the text between the span tag.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.