Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Changing Project Image Size for Single Project


nickasbell

Question

4 answers to this question

Recommended Posts

  • 0

Add to Design > Custom CSS

.tweak-portfolio-grid-overlay-image-aspect-ratio-11-square .portfolio-grid-overlay .grid-image, .grid-item {
    padding-bottom: 75% !important;
}

 

Link to comment
  • 0
7 hours ago, tuanphan said:

Add to Design > Custom CSS


.tweak-portfolio-grid-overlay-image-aspect-ratio-11-square .portfolio-grid-overlay .grid-image, .grid-item {
    padding-bottom: 75% !important;
}

 

This changed the padding for all of the projects! Instead of just the New Home Star one! and when i hovered over it was still 1:1 square aspect ratio even though the image was rectangular!

Link to comment
  • 0
On 2/6/2021 at 2:33 AM, tuanphan said:

Try new code


a.grid-item[href="/work/nhs"] .grid-image, a.grid-item[href="/work/nhs"] {
    padding-bottom: 75% !important;
}

the new code worked! however, the image doesn't show up with the new size - i tried a couple different methods but it did not work.

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...