630 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 100 and 1 000 dollars
  • United Kingdom
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.

1947 posts Do the Needful
  • Envato Staff
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Has been a member for 3-4 years
  • United States
  • Support Staff
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Contributed a Blog Post
+7 more
JamiGibbs Staff 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
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 100 and 1 000 dollars
  • United Kingdom
RobbyDesigns says

Fixed and removed.

1947 posts Do the Needful
  • Envato Staff
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Has been a member for 3-4 years
  • United States
  • Support Staff
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Contributed a Blog Post
+7 more
JamiGibbs Staff says

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

by
by
by
by
by
by