638 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. ;)

638 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.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by