Portfolio Page and Featured Image Size
-
Hello,
On my “Projects” page (also current homepage), I have a set of projects displayed (Minecraft Class, 2016, Sculpture School…etc)Is it possible to make the featured images larger? Perhaps 2 to a row instead of 3? Also, is it possible to display more than 9 projects at once. I would like an infinite scroll of projects if possible.
Thank you,
EddieThe blog I need help with is: (visible only to logged in users)
-
Hi there, to prevent things from going awry, I’ve limited this with a media query to 800px and wider screens/windows.
@media screen and (min-width: 800px) { .project-navigation-wrapper .jetpack-portfolio, .page-template-portfolio-page-php .jetpack-portfolio, body.archive[class*="jetpack-portfolio"] .jetpack-portfolio { width: 48%; } .project-navigation-wrapper .jetpack-portfolio:nth-of-type(3n+1), .page-template-portfolio-page-php .jetpack-portfolio:nth-of-type(3n+1), body.archive[class*="jetpack-portfolio"] .jetpack-portfolio:nth-of-type(3n+1) { clear: none; } .project-navigation-wrapper .jetpack-portfolio:nth-of-type(3n), .page-template-portfolio-page-php .jetpack-portfolio:nth-of-type(3n), body.archive[class*="jetpack-portfolio"] .jetpack-portfolio:nth-of-type(3n) { margin-right: 2%; } }On the number of projects, the theme limits things to multiples of 3 so as to keep a nice appearance and all rows full. Go to Settings Writing and set the number of projects to show to a multiple of 3 that is also a multiple of 2, such as 18 and then add another project so that you have 12 and see if that doesn’t take care of things.
Infinite scroll will not work on Portfolio pages.
What you may want to try on a draft page would be to use the Portfolio Shortcode and include the attributes for two columns. Here would be an example.
[portfolio display_types=true display_tags=false columns=3 showposts=18 orderby=date]
Styling will be different from what you have, but it would it would be worth a look.. -
Thank you very much! This worked great and I learned about ‘project types’ along the way. I will play around with all of this. Awesome.
An additional question, is it possible to link a project to a category? For example – when you click on the “Plastic Bottle Boats” project on my homepage it sends you here: http://eddiesworkshops.com/category/boat-building-july-27-31-2015/
Thank you again,
Eddie -
And also, sorry just noticed… how can I remove the projects at the bottom of the page which don’t have the Portfolio Shortcode styling?
I changed page settings and that worked, but the except font was all out of proportion. See difference in ‘Upcoming’ page and ‘Projects’ page.
Thank you,
Eddie -
Eddie, we can fix the title and text font size on the shortcode portfolio page with the following CSS.
.jetpack-portfolio-shortcode .portfolio-entry-title { font-size: 1.0075em; text-align: center; } .jetpack-portfolio-shortcode .portfolio-entry-content { font-size: 16px; }When I click on Plastic Bottle Boats on your home page, it takes me here: http://eddiesworkshops.com/portfolio/plastic-bottle-boats/ . There is no way to change where those link.
- The topic ‘Portfolio Page and Featured Image Size’ is closed to new replies.