looking for the css code for displaying category name below

Phoca Gallery - image gallery extension
grosloulou
Phoca Member
Phoca Member
Posts: 27
Joined: 10 Feb 2013, 10:46

looking for the css code for displaying category name below

Post by grosloulou »

hallo,
can you please give me the css code to copy in custom css listbox for displaying category names below the thumbnails instead of on right ?
i don't find it on your site

best regards
marc
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: looking for the css code for displaying category name be

Post by Jan »

If you find Phoca extensions useful, please support the project
grosloulou
Phoca Member
Phoca Member
Posts: 27
Joined: 10 Feb 2013, 10:46

Re: looking for the css code for displaying category name be

Post by grosloulou »

hallo jan,
what is inside this css you always refer too ?
does it mean you did the work and i need to check "use custom css", delete lines of the custom css below this checkbox and upload with filezilla this css into the assets folder ?

marc
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: looking for the css code for displaying category name be

Post by Jan »

Hi, this css I have used for the phoca gallery, include the names under thumbs - just copy it and try to modify to your needs. :idea:

Jan
If you find Phoca extensions useful, please support the project
grosloulou
Phoca Member
Phoca Member
Posts: 27
Joined: 10 Feb 2013, 10:46

Re: looking for the css code for displaying category name be

Post by grosloulou »

thanks jan
does it remove also the number of images without removing the white box around the "download and zoom" icons ? your example css code on your website "remove number of images" had this sideeffect. Look :
http://www.marclabro.com/index.php?opti ... Itemid=190
and open "animals" album. background is black. i don't say it is ugly but it is not normal it is not an independant parameter to remove this box.

to be clear, i upload the custom css file in assets but keep its custom.css name, not overwriting the original css, i check the checkbox "uses custom css" and clear the css listox below in which i started to write css code from your example to remove number of images ?
so, in this case, it will be impossible in the future to add code in this listbox to add to custom because custom code is not totally contained in the listbox but in the custom css file and custom.css would be reset by the new content of this listbox.
correct ?

very sorry to be so heavy but method is really not clear on your site

best regards
marc
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: looking for the css code for displaying category name be

Post by Jan »

Hi, now I don't understand what you exactly means?

You have a custom.css where you can paste your own code, this custom.css is loaded after all other phoca gallery css, so you can overwrite the attributes inside this custom.css (be aware while updating phoca gallery, this custom.css should be backed up and uploaded again to folder - this is not more needed in Phoca Gallery 4, where you can rename this css other name, so it will be not more overwritten while updating phoca gallery)
If you find Phoca extensions useful, please support the project
grosloulou
Phoca Member
Phoca Member
Posts: 27
Joined: 10 Feb 2013, 10:46

Re: looking for the css code for displaying category name be

Post by grosloulou »

hallo,
the customcss doesn't work on my site
i see titles on right with number of images
i saved your link and uploaded in assets and in parameters, set activate custom css : yes with empty listbox
so, in my mind the phocagallerycustom.css is now seen by the plugin

instead of uploading your phocagallerycustom.css file in assets that phoca doesn't see, was i supposed to copy paste the code in the tiny list box and phoca creates the customcss based on this content ???

i really understand nothing to this customization panel

best regards
marc
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: looking for the css code for displaying category name be

Post by Jan »

Hi, if you are using the plugin code and you cannot load it to content (e.g. depends on used Phoca Gallery version), then just copy the css and paste the plugin css code and of course try to check if you run the right version (if not, then you will need to change some css attributes - compare if you are running 1.5 or 2.5 or 3 version of Joomla! - the wallpapers css is a joomla 2.5 version)

Jan
If you find Phoca extensions useful, please support the project
grosloulou
Phoca Member
Phoca Member
Posts: 27
Joined: 10 Feb 2013, 10:46

Re: looking for the css code for displaying category name be

Post by grosloulou »

still not clear, sorry
there are two locations : edit box in parameters and phocagallerycustom.css ?
who wins and where to start : edit (which creates file) or file (which fills editbox)

the goal is to have the category page with :
- names (animals, flowers,...) below images
- remove the number of images
- have a little bigger thumbs on this page (perhaps they will become bigger ounce names below ?)
www .marclabro.com/mes-galeries.html

why don't you add these 3 basic functions in settings instead of requiring a custom css. they are basic and general need

i am using jommla 2.5 and have downloaded your customcss and uploaded to my site :
https://www.phoca.cz/wallpapers/componen ... custom.css

q1. in parameters, do i check '"custom css" whatever the way (edit or external file) ?
q2. if i have added manually a phocagallerycustom.css, is the edit box supposed to be filled with the content of the file as preview or remain empty ?
q3. I had understood your link was a file to upload on my site. is it better to delete the phocallerycustom.css i have just uploaded and copy paste your code in this very tiny edit box ? if yes, does this editbox creates a new phocagallerycustom.css on the server? and where to add next modifications : in the file or continue editing the edit box which will update the file ?

best regards
marc
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: looking for the css code for displaying category name be

Post by Jan »

Hi,

1) the trend is, what can be stylized by css, stylize by css - it saves a lot of memory if you stylize it in css instead of loading parameters from system (there should be minimum of parameters - on my feature request list there are thousands of parameters which can be added to Phoca Gallery - if they will be added only from one half the system will not load as all the memory will be consumed by parameters - it is allways the compromise :-(

q1) it is not external file, you just upload a custom.css to your site and you can set the css to the custom file, or to your template or directly in the parameters - what will be loaded first depends on joomla - see your html source code and you will see the ordering. But of course, you should use only one selected method - just add the css to the file (so all your formatting is on one place - the same like on the demo site). It is just a choice - someone wants to use the file someone wants to use it in parameters (e.g. if only change two attributes and you don't want to write all the file)

q2) no, it is an option - if you have a file, just use this file (the parameter is e.g. form some small change when you don't want to use all the whole custom css file)

q3) see q2 or q3 - you can create your own custom file, but you can copy it to your template css but you can add it to the parameter - it is up to you, which form is better for your site.

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