-
AuthorPosts
-
December 15, 2015 at 10:23 pm #553302
Using this bit of code picked up on your support area and it works great on this page to give layer and title.
(Designer choice not mine), but what I don’t know how to find out is how to bring the file except into this effect too? perhaps it requires another snip-it css to get control of the excerpt? Thanks,.av-masonry-entry:before {
content: attr(title);
background: #db5d1e;
position: absolute;
width: 100%;
height: 100%;
z-index: 1000;
text-align: center;
line-height: 450px;
opacity: 0;
font-weight: bold;
font-size: 32px;
}.av-masonry-entry:hover:before {
opacity: .85;
}.av-masonry-entry:before{
transition: all linear 0.2s;
}December 17, 2015 at 7:29 pm #554610It occurs to me what I need to know for support is what the attr for a portfolio excerpt is.
I don’t think it is post_excerpt since if I use that in place of title I don’t get anything.
Nor does it seem to be portfolio_excerpt
So, I think I can use the code I have been using, and put the data I want into excerpt if I know what you call the portfolio excerpt data?
December 22, 2015 at 1:33 pm #556523Hey!
not sure what you are trying to do. Can you provide us a mockup showing what you want to achieve please? you can use imgur.com or dropbox.
Best regards,
AndyDecember 22, 2015 at 7:13 pm #556668Rather than use the designer dropbox which would require her to share with you I put the relevant info here
http://4c1.5f0.mwp.accessdomain.com/enfold-designer-pdf/
I also annotated that page with more details and all the thread info.
I do have a php coder who can step in since I suspect that the solution is more than css tricks can handle.
Thanks so much for any advice you might have for me or Charles, my PHP maven.
December 28, 2015 at 1:55 am #557640Hey!
In the Masonry options there is one called “Element title and excerpt” which you can set it to display both the title and excerpt instead of just the title. Try using that with your portfolio posts. You can set the excerpt for each post in the “Excerpt” setting. If you do not see this then click on “Screen Options” in the top right hand corner when editing your portfolios and check it to display.
Regards,
Elliott- This reply was modified 8 years, 11 months ago by Elliott.
-
AuthorPosts
- You must be logged in to reply to this topic.