KDL1994 Posted May 14, 2021 Posted May 14, 2021 Site URL: https://www.nutrilee.nl/recepten/vegan-groningse-mosterdsoep Hi guys, I recently published my squarespace website where I have my recipes and blogposts. Tags (such as lactosevrij, glutenvrij etc.) are shown at the bottom of each blogpost by default, but I'd like them to be beneath categories (Lunch, soep etc.). I'd also like the tags to be in a different colour (#545454) and a bit smaller, so people can tell the categories and tags apart. I'd like to do the same for blogposts, so it's okay if this affects both. Does anyone know if this is possible, and if yes: do you know the code for it? Hope someone can help me out!! Thanks. - Kimmylee Beyondspace 1
Beyondspace Posted May 16, 2021 Posted May 16, 2021 On 5/14/2021 at 7:47 PM, KDL1994 said: Site URL: https://www.nutrilee.nl/recepten/vegan-groningse-mosterdsoep Hi guys, I recently published my squarespace website where I have my recipes and blogposts. Tags (such as lactosevrij, glutenvrij etc.) are shown at the bottom of each blogpost by default, but I'd like them to be beneath categories (Lunch, soep etc.). I'd also like the tags to be in a different colour (#545454) and a bit smaller, so people can tell the categories and tags apart. I'd like to do the same for blogposts, so it's okay if this affects both. Does anyone know if this is possible, and if yes: do you know the code for it? Hope someone can help me out!! Thanks. - Kimmylee Hi Kimmy, let's put this into Settings -> Advanced -> Code Injection <script> document.addEventListener('DOMContentLoaded', function() { var blogMetaTags = document.querySelector(".blog-meta-item--tags"); var blogMetaWrapper = document.querySelector(".blog-item-meta-wrapper"); blogMetaWrapper.appendChild(blogMetaTags); }); </script> BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
KDL1994 Posted May 18, 2021 Author Posted May 18, 2021 @bangank36 thanks so much for your reply! I appreciate your help so much. It works! Do you also know how to change the size and colour perhaps? :D Beyondspace 1
tuanphan Posted May 19, 2021 Posted May 19, 2021 @KDL1994 Add to Design > Custom CSS /* blog tags */ .blog-meta-item.blog-meta-item--tags * { font-size: 12px !important; color: red !important; } 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!)
mazmac Posted August 22, 2022 Posted August 22, 2022 On 5/18/2021 at 6:01 AM, KDL1994 said: @bangank36 thanks so much for your reply! I appreciate your help so much. It works! Do you also know how to change the size and colour perhaps? 😄 Hello The color you can cheange it in 7.1 in the style color settings, looking for blog metadata color, the size you can add in the CSS advanced injection the size tou want there are a lot of threads in the forum about it
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment