Hello,
At this moment the Types plugin should be the best way how to do that.
Thread Starter
omduk
(@omduk)
Thanks.
Any way to get back LIGHT effect when hovering over Project (portfolio) images?
Or to turn OFF dark effect.
When I uncheck option Hide all item details from Portfolio,
it also removes effect that lightens images, so they stay a bit darker.
-Option screenshot-
Hello,
You can overwrite this options styles, which is stored inside inc/widgets/sh-portfolio.php from 86 to 100 line.
Thread Starter
omduk
(@omduk)
Thanks.
This is the code, but I dont know how to fix it,
and what values to enter.
<style type=”text/css”>
/* Portfolio items */
.portfolio-item {
border-right: 3px solid rgba(255,255,255,0);
border-bottom: 3px solid rgba(255,255,255,0);
}
.portfolio-item:nth-child(4n+0) {
border-right: 0px rgba(255,255,255,0);
}
.portfolio-item:nth-child(-n+4) {
border-top: 3px solid rgba(255,255,255,0);
}
The simplest way to do it should be by editing the inc/template-tags.php file line:865 and removing the $hidden PHP if.
Thread Starter
omduk
(@omduk)
Sorry, but I dont understand exactly how to do it?
If I remove $hidden my site stop working and white screen.
Only way I manages to do something is to edit line 874,
and changing value 0.25 to 0.
<div class=”portfolio-details”<?php if( $hidden ) : ?> style=”background-color: rgba(0,0,0,0.25);”<?php endif; ?>>
We meant to remove whole if statement, therefore it would look like this: <div class=”portfolio-details>
Thread Starter
omduk
(@omduk)
Ok, can you write complete line 874 ?
I tried with your advice, and got scatered images all over page.
This is line I am using (there is no fade effect)
<div class=”portfolio-details”<?php if( $hidden ) : ?> style=”background-color: rgba(0,0,0,0);”<?php endif; ?>>
Thanks
We replaced line:874 from:
<div class="portfolio-details"<?php if( $hidden ) : ?> style="background-color: rgba(0,0,0,0.25);"<?php endif; ?>>
to
<div class="portfolio-details">
and it worked as expected.
Thread Starter
omduk
(@omduk)
Perfect. It worked.
Thanks!