-
AuthorPosts
-
June 9, 2016 at 5:56 pm #645602
Hey guys!
Can you help me remove this gap that appears on this page? This is something I also want to do on a couple other pages as well.
Website: neverdietour.com
Current:
http://s33.postimg.org/tdtvb0c9b/Screen_Shot_2016_06_09_at_11_53_20_AM.pngWhat I want it to do:
http://s33.postimg.org/klnh0xkpb/Screen_Shot_2016_06_09_at_11_53_31_AM.pngAnd one last thing!
Is there a way to make the images black and white, but then color on the hover? And vice versa.Thanks!
ChrisJune 9, 2016 at 7:01 pm #645643Hey ccyran,
Thanks for getting in touch with us!
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 0px !important; }
Yes it might be possible with a bit of CSS code to have the images black and white then turn color on hover. But exactly which images are you referring to?
Best regards,
JordanJune 9, 2016 at 7:08 pm #645652Hey Jordan,
That worked! Thanks!!!
For the black and white effect, I’m referring to the three images on the sounds page.
Thanks again!
June 9, 2016 at 7:35 pm #645673Hi,
Try the following:
.page-id-3278 .av-hover-grow img { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -o-filter: grayscale(100%); -ms-filter: grayscale(100%); } .page-id-3278 .av-hover-grow:hover img { -webkit-filter: grayscale(0%); -moz-filter: grayscale(0%); -o-filter: grayscale(0%); -ms-filter: grayscale(0%); }
Only works on the sounds page as the page id is added to the code.
Best regards,
JordanJune 9, 2016 at 7:44 pm #645685Hey Jordan,
Thanks!
Last two questions…
1. How do I find the page id of a page?
2. Would the css you gave me be reversed to make it go from color to black and white?Thank you,
ChrisJune 9, 2016 at 8:42 pm #645719Hi,
You can follow the instructions here to find your post or page ID if you need it – https://www.competethemes.com/blog/find-page-id/
Also to do the reverse, just change 0% to 100% and 100% to 0% in the code.
Let me know if you need further assistance.
Best regards,
JordanJune 9, 2016 at 9:30 pm #645755Got it,
Thanks man!
June 9, 2016 at 10:44 pm #645809Hi,
No problem, glad I was able to help :)
Feel free to reach out to us again on the forum if you need anything else.
Best regards,
Jordan -
AuthorPosts
- You must be logged in to reply to this topic.