Phoca Gallery Button Plugin off centre

Phoca Gallery plugins - plugins for Phoca Gallery extension
RickIngham
Phoca Member
Phoca Member
Posts: 21
Joined: 20 Jan 2013, 01:20

Phoca Gallery Button Plugin off centre

Post by RickIngham »

Hello everyone,

I have a problem with the Phoca Gallery button plug-in.
When i use it to insert a Phoca Gallery image into an article the thumbnail is off to the right of the white square.
I have tried floating left or right but it just changes the location on the article rather than the image on the white square.
Any sugestions?

Thanks

Rick

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

Re: Phoca Gallery Button Plugin off centre

Post by Jan »

Hi, did you test it with standard template - to check if this is some conflict within the template css :idea:

Jan
If you find Phoca extensions useful, please support the project
RickIngham
Phoca Member
Phoca Member
Posts: 21
Joined: 20 Jan 2013, 01:20

Re: Phoca Gallery Button Plugin off centre

Post by RickIngham »

Yes tested and still the same. Also uninstalled the PG Image plug in and reinstalled without success.
RickIngham
Phoca Member
Phoca Member
Posts: 21
Joined: 20 Jan 2013, 01:20

Re: Phoca Gallery Button Plugin off centre

Post by RickIngham »

I have been playing around with the code today in /components/com_phocagallery/assets/phocagallery.css and haven't really gotten anywhere.
I installed firebug and have made the expand button central by changing text-align:right to center but i cant seem to do this with the image. :idea:
Last edited by RickIngham on 10 Sep 2013, 19:07, edited 1 time in total.
RickIngham
Phoca Member
Phoca Member
Posts: 21
Joined: 20 Jan 2013, 01:20

Re: Phoca Gallery Button Plugin off centre

Post by RickIngham »

I'm fairly sure the problem lays in here somewhere?

Code: Select all

<div class="phocagallery-box-file-first" style="background: url('/site/components/com_phocagallery/assets/images/shadow1.png') 65px 31.5px no-repeat;height: 181px; width: 248px;">
<div class="phocagallery-box-file-second">
<div class="phocagallery-box-file-third">
<center>
<a href="/site/images/phocagallery/spta/chinook/brownout/thumbs/phoca_thumb_l_img_4322.jpg" rel="{handler: 'image', size: {x: 200, y: 150}, overlayOpacity: 0.3}" class="modal-button" title="Boeing Chinook HC3 - ZH904 - RAF">
<img class="pg-image" src="/site/images/phocagallery/spta/chinook/brownout/thumbs/phoca_thumb_m_img_4322.jpg" alt="Boeing Chinook HC3 - ZH904 - RAF"></a></center>
</div>
</div>
</div>
Link to code: http://rickinghamphotography.co.uk/screeny2.jpg
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Button Plugin off centre

Post by Jan »

Hi, really no idea, testing now, get standard output, mostly this can be a problem in some conflict with other CSS (a template?), really don't know.
If you find Phoca extensions useful, please support the project
Post Reply