[Solved] placement of module - I've tried everything!
Posted: 28 Mar 2010, 22:38
I'm sorry to bother you, Jan, I know you get this question a lot. But I just can't seem to find the solution. Here is what the module looks like:
As you can see, the module above it is aligned correctly, but the Phoca Random Image Module is too far to the left. It's not just that the picture itself is in the wrong place, the entire module is wrong.
I have tried several ways to edit the .css of my site template, but nothing worked. I used Firebug to find the exact code for the module, and it says it is
So I opened the file mod_phocagallery_image/assets/phocagallery_module_image.css and found what I thought was the correct section, lines 14-24:
I tried adding a line "float:right;" under the "position" line, but that did not help.
I have tried to edit the .css of my site template, but that didn't help, either. The lines in the template.css file that seem to control this are:
but when I tried to change that to "float: right;" it moved the entire left column over to the right side of the page.
What I don't understand is why the one module shows up correctly (the one above the Phoca Gallery module) but this one doesn't.
I hope you or someone can help me. I'm not very good at editing .css since I don't really understand it very well. I just try changing one thing at a time and see what it does.
One more thing, I'm sorry to say that I did try it using one of the default Joomla templates, and it shows up correctly there. So I guess the problem is in my template. I just don't know where to change it so that your module displays correctly.
Thanks for your time. I love Phoca Gallery and I appreciate all that you do.
As you can see, the module above it is aligned correctly, but the Phoca Random Image Module is too far to the left. It's not just that the picture itself is in the wrong place, the entire module is wrong.
I have tried several ways to edit the .css of my site template, but nothing worked. I used Firebug to find the exact code for the module, and it says it is
Code: Select all
<div style="height: 158px; width: 120px; float: left;" class="phocagallery-box-file">
Code: Select all
#phocagallery-module-ri .phocagallery-box-file {
position:relative;
width:120px;
height:140px;
border:1px solid #E8E8E8;
padding:5px;
background:#fcfcfc;
margin:5px;
text-align:center;
overflow:visible;
}
I have tried to edit the .css of my site template, but that didn't help, either. The lines in the template.css file that seem to control this are:
Code: Select all
#leftcolumn ,#rightcolumn {
margin: 0;
width: 200px;
float: left;
padding: 0 0 10px 0;
text-align: left;
}
What I don't understand is why the one module shows up correctly (the one above the Phoca Gallery module) but this one doesn't.
I hope you or someone can help me. I'm not very good at editing .css since I don't really understand it very well. I just try changing one thing at a time and see what it does.
One more thing, I'm sorry to say that I did try it using one of the default Joomla templates, and it shows up correctly there. So I guess the problem is in my template. I just don't know where to change it so that your module displays correctly.
Thanks for your time. I love Phoca Gallery and I appreciate all that you do.