- Posts: 8
COMMUNITY FORUM
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
How to center output
- furchtlos76
- Topic Author
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6221
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- webgyrl
- Offline
- New Member
- Posts: 8
Adjust thumbnail width so that the available space is covered correctly, without leaving any left/right margins. The plugin uses CSS to create the galleries with the least HTML code, so centering is a bit difficult to achieve by simply adding some CSS rule ;)
What thumbnail width do you suggest? I would like all my images centered on the page.
What CSS rule would make the images centered and where can I find the CSS file?
Thanks!
Please Log in or Create an account to join the conversation.
- Michael Sch#ll
- Offline
- New Member
- Posts: 3
To center the whole bunch of images is easy...just use "<div align="center"></div>"
but i just want to know how to center an image which hasn't the maximum given width, like this:
maybe you can add a function in the next version, which does this automatically. that would be awesome ;D
Please Log in or Create an account to join the conversation.
- webgyrl
- Offline
- New Member
- Posts: 8
OK buddies, i think a have the same problem:
To center the whole bunch of images is easy...just use "<div align="center"></div>"
but i just want to know how to center an image which hasn't the maximum given width, like this:
Do you put that in the page before the gallery tag or is supposed to go in some css file somewhere?
Thanks for this!
Please Log in or Create an account to join the conversation.
- Michael Sch#ll
- Offline
- New Member
- Posts: 3
"<div align="center">{gallery}folder/subfolder{/gallery}</div>"Do you put that in the page before the gallery tag or is supposed to go in some css file somewhere?
Thanks for this!
that's pure html. i thought someone who use this mambot should know this :P
but that will only center the block of the images.
Please Log in or Create an account to join the conversation.
- mtaras
- Offline
- Junior Member
- Posts: 25
/* --- Thumbnail styling --- */
.sig {clear:both;margin-right:auto;margin-left:auto;padding:0px;display:block;/*position:relative;*/ width: 100%;}
.sig_clr {clear:both;}
.sig_cont {float:center;/*position:relative;*/}
.sig_cont .sig_thumb {float:center; margin:0px 5px 5px 0px;padding:0px;}
.sig_cont .sig_thumb a {display:block;position:relative;background:none;text-decoration:none;}
.sig_cont .sig_thumb a:hover {display:block;position:relative;background:none;text-decoration:none;}
.sig_cont .sig_thumb a img {display:block;position:relative;background:#FFF;border:1px solid #ccc;margin:-5px 5px 5px -5px;padding:4px;}
Please Log in or Create an account to join the conversation.
- dax702
- Offline
- Senior Member
- Posts: 44
I tried your CSS and it did not work for me, it's showing only one column with many rows, all left aligned =(
Please Log in or Create an account to join the conversation.