630 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
RobbyDesigns says

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:

  1. jquery ‘last child’ to remove the padding but it doesnt work.
  2. $('#portfolio li:nth-child(3n+3)').css({ padding-right: '0px' });
Think you can solve it? Good luck! Here’s the preview: http://robbydesigns.com/temp/lf678/

* Will not be for sale onEnvato as they always refuse my works since I reported one of their bum chums for flaming me.

1950 posts Do the Needful
  • Has sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
+10 more
JamiGibbs says
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. ;)

630 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
RobbyDesigns says

Fixed and removed.

1950 posts Do the Needful
  • Has sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
+10 more
JamiGibbs says

Can you double check your link? I’m getting a 404 error.

by
by
by
by
by
by