GammaX5001 Posted January 26, 2022 Posted January 26, 2022 (edited) Site URL: https://maroon-rose-yk6a.squarespace.com/dans-gear Hello, I am developing a new site for our photos. On the page above, in the top summary block, I would like to apply custom styles only to the "Featured Posts" blog posts. This summary block has 3 Featured Posts, the others do not have the post flagged as a Featured Posts. I've attached an example of how I would like a visual indication that these elements are different than the others. Is this possible in the Custom CSS editor, and if so, what is the class I would use for that? The attached image is only an example, and any class that would allow me to customise the style just for those posts (font, font-weight, color etc) would be ok too. Thanks for any help you can give, Ann Edited January 26, 2022 by GammaX5001 Clarification
Solution tuanphan Posted January 27, 2022 Solution Posted January 27, 2022 Add to Design > custom CSS div#block-yui_3_17_2_1_1643101707616_4584 .summary-item:nth-child(-n+3) { border: 3px solid yellow; padding: 5px; } 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!)
GammaX5001 Posted January 27, 2022 Author Posted January 27, 2022 Thanks very much for this, it's exactly what I need.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment