Phoca Download Responsive

Phoca Download - download manager
dapinna
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 18 Jun 2012, 01:15

Phoca Download Responsive

Post by dapinna »

Hello :-)
Is there a way to make it responsive to view categories in Phoca Gallery?

When viewed on a mobile device, especially on a smartphone, the three columns of categories shake too, but instead should line up.

eg.
http://www.beatricevivaldi.com/ginnasti ... -2010.html

Thanks for the answers :-)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Download Responsive

Post by Jan »

Hi, for now this needs to be customized in the output. For some of future version I am planning to add bootstrap views (to support full responsivity)

Jan
If you find Phoca extensions useful, please support the project
dapinna
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 18 Jun 2012, 01:15

Re: Phoca Download Responsive

Post by dapinna »

Hello Thanks for the reply :-)

Waiting for some solution I tried to solve alone and the solution was so simple that I am almost ashamed to have asked: :oops: :D

Anyway here is the solution:

I went to the "Style (CSS)"
I opened "default.css"

and I added this code

Code: Select all

@media (max-width: 480px) {
	#phoca-dl-categories-box div.pd-categoriesbox {
		width: 100%;
	}

}
Normally width is set to 28%



I hope that the solution can be helpful to someone else :-)
christine
Phoca Hero
Phoca Hero
Posts: 2938
Joined: 28 Nov 2010, 17:20

Re: Phoca Download Responsive

Post by christine »

Hi dapinna,

Thank you for your information & to help hereby also other users :|
I would suggest, to put the media queries also to the custom.css

Kind regards, Christine
Post Reply