I’m almost ready to smash my computer up so I’ll appreciate any help on this problem:
I’m working on a website template I’ll be selling on my site* and have included a filterable portfolio using jQuery BUT the problem is this: There are 3 images on a row which all pad to the right, the trouble is this means the last image being padded means the portfolio is not in line with the rest of the design. I can’t assign a ‘class last’ and remove the padding because it’s filterable so there’s no way to know which image would be on the right at any one time.
Tried:
- jquery ‘last child’ to remove the padding but it doesnt work.
$('#portfolio li:nth-child(3n+3)').css({ padding-right: '0px' });
* Will not be for sale onEnvato as they always refuse my works since I reported one of their bum chums for flaming me.
- Envato Staff
- Sold between 100 000 and 250 000 dollars
- Support Staff
- United States
- Author had a Free File of the Month
- Microlancer Beta Tester
- Beta Tester
- Interviewed on the Envato Notes blog
RobbyDesigns said
Will not be for sale onEnvato as they always refuse my works since I reported one of their bum chums for flaming me.
I can assure you that file rejections are solely based on the item (design, aesthetics, usability, marketing, etc.). There’s none of that “drama-for-yo-mama” going on behind the scenes. 
Fixed and removed.
- Envato Staff
- Sold between 100 000 and 250 000 dollars
- Support Staff
- United States
- Author had a Free File of the Month
- Microlancer Beta Tester
- Beta Tester
- Interviewed on the Envato Notes blog
Can you double check your link? I’m getting a 404 error.
