Site logo

[Resolved] Change color of text within ONE block of text

Home Forums Support [Resolved] Change color of text within ONE block of text

Home Forums Support Change color of text within ONE block of text

Viewing 15 posts - 16 through 30 (of 43 total)
  • Author
    Posts
  • #2138370
    David
    Staff
    Customer Support

    You can use the free version of the GenerateBlocks plugin, then instead of adding a Text Block add a Headline Block, you will find all the settings you need in its sidebar:

    https://docs.generateblocks.com/article/headline-overview/

    Alternatively you can select your current Text Block, and go to Advance > Additional CSS Class(es) and give it a unique CSS Class eg. small-spacing

    then add some CSS like so:

    .small-spacing {
         margin-bottom: 20px;
    }
    #2138581
    Trish

    Hey David,

    I have the Simple CSS plugin installed already, and when I put that snippet of script in the Simple CSS textbox below that page, well… sadly it made no difference to reducing the large white spaces between the blocks of text.

    And, yes I selected EACH Text Block, and went to Advance > Additional CSS Class(es) and typed in the unique CSS Class: small-spacing

    See video linked below…

    #2142494
    Trish

    Is there a chance that I can get David’s assistance with this issue, please?

    #2142523
    Leo
    Staff
    Customer Support

    I’m not actually seeing David’s CSS being added in Simple CSS:
    https://www.screencast.com/t/nSxtwnLi8

    Can you add it in the Additional CSS field in the customizer?

    #2142603
    Trish

    The code IS in the proper place. See image below… you’ll need to scroll the image.

    If I place that code in the Customize field, would it not effect the entire site rather than this one page?

    #2142605
    Leo
    Staff
    Customer Support

    I understand. But unfortunately I just don’t see it from the backend.

    Do you mind trying my method first?

    Make sure to clear any caching plugins or server cache you might be using.

    #2142607
    Trish

    I have cleared the cache several times HOPING that was the issue.

    So, if I place that code in the Additional CSS field in the customize, would it not effect the entire site rather than this one page?

    #2142612
    Trish

    Okay… I’ve added the code to the Additional CSS field in Customize, clicked Published… cleared the cache… and no change. šŸ™

    #2142613
    Leo
    Staff
    Customer Support

    It would only affect the text with small-spacing custom CSS class added.

    #2142614
    Trish

    Ah, right… I’ve added the code to the Additional CSS field in Customize, clicked Published… cleared the cache… and no change. šŸ™

    #2142616
    Leo
    Staff
    Customer Support

    The CSS is indeed working:
    https://www.screencast.com/t/RpoK8YHPEx

    #2142621
    Leo
    Staff
    Customer Support

    Make sure you are adding the custom class to the paragraph block and not the columns block.

    #2142649
    Trish

    The class small-spacing has been added to EACH paragraph block, yes.

    #2142657
    Leo
    Staff
    Customer Support

    Can you remove the small-spacing classes added to the columns?
    https://www.screencast.com/t/3NA9cGZh

    It’s adding extra spaces.

    Make sure it’s only added to the paragraph blocks.

    #2142683
    Trish

    I couldn’t find how to select the top 3 column section, so I added the class to the columns. However, I have now deleted the class from all 3 columns.

    It has made a minor difference to the spacing, but the spacing is still too far apart. Reduced the 20 to 5 px but the red paragraph is still to large a gap to the Revealed… paragraph block.

Viewing 15 posts - 16 through 30 (of 43 total)
  • The topic ‘Change color of text within ONE block of text’ is closed to new replies.