Comments shinomido started the conversationSeptember 15, 2020 at 2:06amHi,I'd like to customize the background color for tags (H1,H2,H3,H4,H5,H6 ) on single posts. When I customized CSS, other tags on homepage or pages were also changed, which I don't want to be changed.Can I change them on only single posts without affecting other pages?Best regards,Midori 2,701PenciDesign repliedSeptember 15, 2020 at 8:40amHi,You can do that by use the custom css code like this: .post-entry h1, .post-entry h2, .post-entry h3, .post-entry h4, .post-entry h5, .post-entry h6{ background: #20bec2; padding: 5px 10px 5px 15px; }Best Regards,PenciDesignshinomido repliedSeptember 16, 2020 at 1:34amHi,Thank you!! It worked well, but when I customize H2, recipe title is also changed as attached (image.jpg). Is it possible not to affect recipe title? Best regards,Midori 2,701PenciDesign repliedSeptember 16, 2020 at 2:58amHi,You can replace the code I sent to this code to do that: .post-entry h1, .post-entry h2, .post-entry h3, .post-entry h4, .post-entry h5, .post-entry h6{ background: #20bec2; padding: 5px 10px 5px 15px; } .post-entry .penci-recipe-heading h2, .post-entry h3.penci-recipe-title{ background: none; padding: 0; } Best Regards,PenciDesignshinomido repliedSeptember 19, 2020 at 9:45pmIt works well!! Thank you so much! Sign in to reply ...
Hi,
I'd like to customize the background color for tags (H1,H2,H3,H4,H5,H6 ) on single posts.
When I customized CSS, other tags on homepage or pages were also changed, which I don't want to be changed.
Can I change them on only single posts without affecting other pages?
Best regards,
Midori
Hi,
You can do that by use the custom css code like this:
Best Regards,
PenciDesign
Hi,
Thank you!!
It worked well, but when I customize H2, recipe title is also changed as attached (image.jpg).
Is it possible not to affect recipe title?
Best regards,
Midori
Hi,
You can replace the code I sent to this code to do that:
Best Regards,
PenciDesign
It works well!! Thank you so much!