jrmyprkr Posted December 15, 2023 Share Posted December 15, 2023 Hi all, As my title says, i'm trying to understand the best way of editing all of the text blocks on a given page. What I previously had done is enter in a line of code along the lines of: #block-yui_3_17_2_1_1688526320643_4880 p{font-size: 12px; line-height: .4px;} ...for each individual block, which for one page alone would amount to a lot, let alone the many pages I have on the website. Is there a better way to change the line-height/font-size, etc., of a page without having to do one for each individual block? Thanks in advance! Link to comment
Solution tuanphan Posted December 16, 2023 Solution Share Posted December 16, 2023 Your code target Paragraph of specific text block to target all text block on a page, you can target Page ID or use Page Header Code Injection/Code Block If you use Business Plan or higher, just add this code to Page Header Code Injection If you use Personal Plan, you can edit that page > Add a Code Block > Paste same code <style> p{font-size: 12px !important; line-height: .4px !important;} </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment