Separating the articles?

Support forum dedicated to free and advanced Joomla content presentation module with various layout options and data sources support.
GK User
Sun Jan 05, 2014 10:20 pm
Hi,

I want to add a separator between the articles that are shown in NSP.

I know its done with border-left (or right) but the problem is that I get the border on the last article too.

I dont see a name that will call the first or the last news shown so I can play with that border.

You can check my test site here: http://gorast.com/aeknov/ and see that the 4 news are separated but I get the border on the last too.

I cant think of how that be done. Can you help me please?

Thanks,
Gorast
User avatar
Platinum Boarder

GK User
Mon Jan 06, 2014 10:24 am
You can use last-child pseudoclass:
Code: Select all
.nspArtPage .nspCol4:last-child {border: none;}
User avatar
Moderator

GK User
Mon Jan 06, 2014 11:43 am
Cyberek wrote:You can use last-child pseudoclass:
Code: Select all
.nspArtPage .nspCol4:last-child {border: none;}


YEAH! Thats my man! :DD

Thanks,
Gorast
User avatar
Platinum Boarder

GK User
Mon Jan 06, 2014 10:50 pm
*SOLVED*
User avatar
Platinum Boarder

GK User
Tue Jan 07, 2014 8:06 am
That was a fast one ;).
User avatar
Moderator


cron