Hi
I need all my site pages to be black except the portfolio item pages which i want all to be grey.
In Enfold General Styling options i have set the predefined color to black.
But how can with css make only all the portfolio item pages to have different bg color?
What is the easiest way possible?
Thx
dmanbo
Hi Dmanbo!
Drag a codeblock element to the page content and add this inside.
<style type = "text/css">
.header_bg, .main_color, .stretch_full { background: red !important; }
</style>
Cheers!
Elliott
I dragged a codeblock in the Portfolio item and placed the code and it worked fine, thank you :)
I’m wondering if we can achieve the same result by putting code inside the General Styling > Quick CSS instead of on every single portfolio item page, because i’ll have soon more than 300 items.
Is it possible?
thx
Hi!
If you want it done on every portfolio post then add this to your custom CSS.
.single-portfolio .header_bg, .single-portfolio .main_color, .single-portfolio .stretch_full { background: red !important; }
Cheers!
Elliott
thank you so much it works fine