acid__bat Posted October 27, 2020 Share Posted October 27, 2020 Site URL: https://www.parboild.com/ I'm using custom code to make my fixed site header transparent when at the top of the page, then opaque as you scroll down. However, I don't want this on my filtered results pages, because there is no image at the top. Is it possible to make the header always opaque on filtered results pages? Without breaking the transparency on every other page? Here's an example of a filtered page: https://www.parboild.com/?author=5cc649a0f4a17f000189897b I also have them for categories: https://www.parboild.com/blog/category/Quick+snack Link to comment
tuanphan Posted October 28, 2020 Share Posted October 28, 2020 Try adding to Home > Design > Custom CSS .collection-type-blog-basic-grid.view-list header#header { background: 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!) Link to comment
acid__bat Posted October 28, 2020 Author Share Posted October 28, 2020 (edited) 4 hours ago, tuanphan said: Try adding to Home > Design > Custom CSS .collection-type-blog-basic-grid.view-list header#header { background: red !important; } This worked great for the filtered results pages, but it broke the transparency on the rest. Is it possible to make it opaque ONLY on the author/category filtered pages? Edited October 28, 2020 by acid__bat Link to comment
acid__bat Posted December 14, 2021 Author Share Posted December 14, 2021 (edited) @tuanphan Hello, I never did figure this one out. How do I get an opaque header ONLY on filtered results pages? I have a transparency set up on all other pages, which I like and don't want to mess with. Here's an example of my filtered pages: https://www.parboild.com/?author=5cc649a0f4a17f000189897b Edited December 14, 2021 by acid__bat Provide more info Link to comment
tuanphan Posted December 17, 2021 Share Posted December 17, 2021 On 12/15/2021 at 5:50 AM, acid__bat said: @tuanphan Hello, I never did figure this one out. How do I get an opaque header ONLY on filtered results pages? I have a transparency set up on all other pages, which I like and don't want to mess with. Here's an example of my filtered pages: https://www.parboild.com/?author=5cc649a0f4a17f000189897b Add to Design > Custom CSS body[class*="collection-type-blog"].view-list header#header { background-color: black !important; } EarvinChong 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!) Link to comment
acid__bat Posted December 17, 2021 Author Share Posted December 17, 2021 That worked perfectly! I'm so happy. Thank you so much. tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment