SolveigTraeet Posted February 14, 2021 Posted February 14, 2021 Site URL: https://caper-badger-3s6d.squarespace.com/blog/mytruth Password: home I wish to replace Blog post titles with custommade ''image''. I want different image on each blog post. Can anyone help?
tuanphan Posted February 15, 2021 Posted February 15, 2021 Add to Design > Custom CSS div.blog-basic-grid>article:nth-child(1) .blog-title { background-image: url(https://cdn.pixabay.com/photo/2021/02/03/14/52/woman-5978200__340.jpg); background-size: cover; background-repeat: no-repeat; color: transparent; } div.blog-basic-grid>article:nth-child(2) .blog-title { background-image: url(https://cdn.pixabay.com/photo/2018/03/19/15/04/wet-3240211__340.jpg); background-size: cover; background-repeat: no-repeat; color: transparent; } 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!)
SolveigTraeet Posted February 15, 2021 Author Posted February 15, 2021 4 hours ago, tuanphan said: Add to Design > Custom CSS div.blog-basic-grid>article:nth-child(1) .blog-title { background-image: url(https://cdn.pixabay.com/photo/2021/02/03/14/52/woman-5978200__340.jpg); background-size: cover; background-repeat: no-repeat; color: transparent; } div.blog-basic-grid>article:nth-child(2) .blog-title { background-image: url(https://cdn.pixabay.com/photo/2018/03/19/15/04/wet-3240211__340.jpg); background-size: cover; background-repeat: no-repeat; color: transparent; } @tuanphan Thank you for replying! But I need the blog post images to be different on all blog posts, even in the different categories (like the code you gave me on blog thumbnail hover effect). Can you help me with the code for each blog post title within different catergories (My Truth / Lyrics / Behind My Lyrics)?
SolveigTraeet Posted February 21, 2021 Author Posted February 21, 2021 On 2/15/2021 at 8:21 PM, SolveigTraeet said: @tuanphan Thank you for replying! But I need the blog post images to be different on all blog posts, even in the different categories (like the code you gave me on blog thumbnail hover effect). Can you help me with the code for each blog post title within different catergories (My Truth / Lyrics / Behind My Lyrics)? @tuanphan Can you help me complete this?
tuanphan Posted March 2, 2021 Posted March 2, 2021 Try adding to Mytruth Page Header <style> div.blog-basic-grid>article:nth-child(1) .blog-title { background-image: url(https://cdn.pixabay.com/photo/2021/02/03/14/52/woman-5978200__340.jpg); background-size: cover; background-repeat: no-repeat; color: transparent; } div.blog-basic-grid>article:nth-child(2) .blog-title { background-image: url(https://cdn.pixabay.com/photo/2018/03/19/15/04/wet-3240211__340.jpg); background-size: cover; background-repeat: no-repeat; color: transparent; } </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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.