PaolaAV Posted May 29, 2022 Posted May 29, 2022 Site URL: https://professionevirtualassistant.com In the blog I have two types of posts (by category) with different graphics and photos for each category. I made two post templates for each category and would like the title color to be in line with the graphics. Post category 1 Red title Post category 2 Blue title How can I do? if change from Color Style changes on all Title.
tuanphan Posted May 31, 2022 Posted May 31, 2022 Hi, What is access password? 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!)
PaolaAV Posted July 6, 2022 Author Posted July 6, 2022 On 5/31/2022 at 4:54 AM, tuanphan said: Hi, What is access password? sorry i saw now. The site is online now.
tuanphan Posted July 7, 2022 Posted July 7, 2022 10 hours ago, PaolaAV said: sorry i saw now. The site is online now. Hi. This blog page? https://www.professionevirtualassistant.com/magazine 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!)
PaolaAV Posted July 9, 2022 Author Posted July 9, 2022 On 7/7/2022 at 9:01 AM, tuanphan said: Hi. This blog page? https://www.professionevirtualassistant.com/magazine yes. The posts of the virtual assistant category with red post title and the post business category posts with blue post title. It's possible? Thanks.
Solution tuanphan Posted July 10, 2022 Solution Posted July 10, 2022 6 hours ago, PaolaAV said: yes. The posts of the virtual assistant category with red post title and the post business category posts with blue post title. It's possible? Thanks. Add to Settings > Advanced > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(function() { var lang = location.pathname.split("/")[1] $('.blog-item-category--Business').parents('article').addClass('tp-business'); $('.blog-item-category--Virtual').parents('article').addClass('tp-virtual'); }); </script> <style> .tp-business h1.entry-title { color: red !important; } .tp-virtual h1.entry-title { color: blue !important; } </style> PaolaAV 1 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
Create an account or sign in to comment
You need to be a member in order to leave a comment