- This topic has 42 replies, 5 voices, and was last updated 3 years, 7 months ago by
Leo.
-
AuthorPosts
-
March 1, 2022 at 10:05 am #2138370
David
StaffCustomer SupportYou 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; }
March 1, 2022 at 1:29 pm #2138581Trish
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…
March 4, 2022 at 10:04 am #2142494Trish
Is there a chance that I can get David’s assistance with this issue, please?
March 4, 2022 at 10:19 am #2142523Leo
StaffCustomer SupportI’m not actually seeing David’s CSS being added in Simple CSS:
https://www.screencast.com/t/nSxtwnLi8Can you add it in the Additional CSS field in the customizer?
March 4, 2022 at 11:19 am #2142603Trish
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?
March 4, 2022 at 11:22 am #2142605Leo
StaffCustomer SupportI 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.
March 4, 2022 at 11:24 am #2142607Trish
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?
March 4, 2022 at 11:26 am #2142612Trish
Okay… I’ve added the code to the Additional CSS field in Customize, clicked Published… cleared the cache… and no change. š
March 4, 2022 at 11:27 am #2142613Leo
StaffCustomer SupportIt would only affect the text with
small-spacing
custom CSS class added.March 4, 2022 at 11:28 am #2142614Trish
Ah, right… Iāve added the code to the Additional CSS field in Customize, clicked Published⦠cleared the cache⦠and no change. š
March 4, 2022 at 11:29 am #2142616Leo
StaffCustomer SupportThe CSS is indeed working:
https://www.screencast.com/t/RpoK8YHPExMarch 4, 2022 at 11:33 am #2142621Leo
StaffCustomer SupportMake sure you are adding the custom class to the paragraph block and not the columns block.
March 4, 2022 at 11:52 am #2142649Trish
The class small-spacing has been added to EACH paragraph block, yes.
March 4, 2022 at 11:58 am #2142657Leo
StaffCustomer SupportCan you remove the
small-spacing
classes added to the columns?
https://www.screencast.com/t/3NA9cGZhIt’s adding extra spaces.
Make sure it’s only added to the paragraph blocks.
March 4, 2022 at 12:27 pm #2142683Trish
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.
-
AuthorPosts
- The topic ‘Change color of text within ONE block of text’ is closed to new replies.