Add vertical-align to div class="phocaimgdeschtml"

Phoca Gallery - image gallery extension
griego62
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 06 Jun 2010, 02:07

Add vertical-align to div class="phocaimgdeschtml"

Post by griego62 »

Hello to all. I´m coming from the Simplecaddy forum with an alignment problem. I have been told by Henk that I should probably place a vertical-align somewhere in the phocaimgdeschtml div class but after a lot of searching I haven't been able to see where it would go. What I have been able to do is add a line-height to the phocaname div class and a margin-bottom to the phocaimgdeschtml div class of the boxes where this div class doesn't align. The problem is that I have only been able to do these interventions in Firebug and cannot find the file to make these changes permanent - can somebody please direct me to them? This is the screenshot:

Image

If there is a way to place a vertical-align in the phocaimgdeschtml div class, thus simplifying things, I'd appreciate your help but for the moment I'd be happy with the files I have to tamper with.

Thank you.
reko
Phoca Professional
Phoca Professional
Posts: 407
Joined: 29 Dec 2008, 22:06

Re: Add vertical-align to div class="phocaimgdeschtml"

Post by reko »

Hi,
if scroll up a little in the firebug window (styles section), it gives you the filename (aligned to the right, in bold).
regards,
rk
griego62
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 06 Jun 2010, 02:07

Re: Add vertical-align to div class="phocaimgdeschtml"

Post by griego62 »

Thank you reko but that´s the problem I've been having. If you look closely; I've scrolled the styles section as high as it goes but it doesn't give me the filename. I have however investigated and it seems that it doesn't give a filename because element.style is an inline style in an original HTML file, or inline style added by javascript. Since it is ‘inline’, there is no external CSS reference for it. I am now looking at the scripts since I can´t find any HTML file that includes inline style but I admit that I still don´t have the knowledge to understand exactly how it all works. I'd appreciate any help that anyone could offer. Thank you.
reko
Phoca Professional
Phoca Professional
Posts: 407
Joined: 29 Dec 2008, 22:06

Re: Add vertical-align to div class="phocaimgdeschtml"

Post by reko »

it's hard to tell just from that screenshot...
but that's how I would do it: take a portion out of the page source code (eg <div class="...) and search all your local files (I use dreamweaver for this). I think is on of the files in ./components/com_phocagallery/views/, maybe even category/tmpl/default.php :idea:
griego62
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 06 Jun 2010, 02:07

Re: Add vertical-align to div class="phocaimgdeschtml"

Post by griego62 »

Well, I'm pretty much lost. I can align everything in FIREBUG yet I cannot find the HTML file or where I would have to make the changes so that they are permanent. I'm new to all this and I´d appreciate some help. I just want to align my boxes and I think that I have to play with "phocaimgdeschtml" and "phocaname" divs but as I said before...I can't find the files (see screenshot above) :x . Please help :cry: .
Post Reply