Hello,
i integrated a picture with phocagallery and as slimbox.
code starts with:
<div class="phocagallery">
<div style="height:80px; width:110px;margin: 1px;padding: 5px;" class="phocagallery-box-file pgplugin1">
<center>
<div style="background: #f5f5f5;height: 80px; width: 90px;" class="phocagallery-box-file-first">
<div class="phocagallery-box-file-second">
<div class="phocagallery-box-file-third">
<center>
<a rel="lightbox-PhocaGalleryPl1" href=.....</div>
after this follows "<div style="clear:both"> </div>""
i want to remove "<div style="clear:both"> </div>" from template, but i can´t find the file, where i should remove it.
Could anybody help, please?
Thank you
remove - clear:both
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: remove - clear:both
Hi, there must be clear both, because the images are stored in float boxed, just use some search function, you can find the clear both in Phoca Gallery code.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
blizarre
- Phoca Newbie

- Posts: 2
- Joined: 06 Dec 2013, 20:18
Re: remove - clear:both
Hi, i have similar problem.
this code
generate this html code
inside each <div class="phocagallery"> is code with 1 image. I searched all files in components/com_phocagallery and found <div style="clear:both"> </div> in couple places, but none of that place seems for me the right place to comment. Of course after many hours i decided to comment all these places and it did not helped. Could You point exacly file where this <div style="clear:both"> </div> is placed that I can comment that line.
I work on joomla 3.1.5 and Phocagallery 4.0.2
Thanks for help!
this code
Code: Select all
{phocagallery view=category|categoryid=8|imageid=21}{phocagallery view=category|categoryid=8|imageid=24}{phocagallery view=category|categoryid=8|imageid=20}{phocagallery view=category|categoryid=8|imageid=28}
Code: Select all
<div class="phocagallery">
<div style="clear:both"> </div>
<div class="phocagallery">
<div style="clear:both"> </div>
<div class="phocagallery">
<div style="clear:both"> </div>
<div class="phocagallery">
<div style="clear:both"> </div>I work on joomla 3.1.5 and Phocagallery 4.0.2
Thanks for help!
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: remove - clear:both
Hi, just see the plugin code, as the image is floated image and it needs to be closed by clear: both ... You can use other plugin parameter e.g. to align more images next to each other without clear: https://www.phoca.cz/demo/phocagallery-plugin?start=13
the code is:
plugins/content/phocagallery/...
Jan
the code is:
plugins/content/phocagallery/...
Jan
If you find Phoca extensions useful, please support the project
-
blizarre
- Phoca Newbie

- Posts: 2
- Joined: 06 Dec 2013, 20:18
Re: remove - clear:both
Great! Thanks for help. unfortunately i have users that don't want to add any sort of code and I rather not to do that by them.
[quote="Jan"
the code is:
plugins/content/phocagallery/...
[/quote]
Thanks for this. that's exactly what i have been looking for!
[quote="Jan"
the code is:
plugins/content/phocagallery/...
[/quote]
Thanks for this. that's exactly what i have been looking for!