Add Vertical Spacing in Categories 3.2.1

leeifac
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 10 Jul 2012, 20:01

Add Vertical Spacing in Categories 3.2.1

Post by leeifac »

Trying to modify
components\com_phocagallery\views\categories\tmpl\default_catimg.php

to give more space between category thumbnails

Any assistance would be greatly appreciated
Cheers,
Lee
leeifac
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 10 Jul 2012, 20:01

Re: Add Vertical Spacing in Categories 3.2.1

Post by leeifac »

A friend helped me figure it out. Here is the fix.

Add this to the bottom of phocagallery.css

#phocagallery a:nth-child(odd) {
margin-bottom: 20px;
display: block;
}

change the margin bottom px for spacing.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Add Vertical Spacing in Categories 3.2.1

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply