Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
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
  • furchtlos76's Avatar Topic Author
  • Offline
  • New Member
More
17 years 8 months ago #1919 by furchtlos76
How to center output was created by furchtlos76
How can i center the thumbnail input. My output is allign left but that looks not very nice.

Please Log in or Create an account to join the conversation.

More
17 years 8 months ago #1920 by JoomlaWorks
Replied by JoomlaWorks on topic Re: How to center output
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 ;)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
17 years 3 months ago #1921 by webgyrl
Replied by webgyrl on topic Re: How to center output

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.

More
17 years 3 months ago - 17 years 3 months ago #1922 by Michael Sch#ll
Replied by Michael Sch#ll on topic Re: How to center output
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:

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.

More
17 years 3 months ago #1923 by webgyrl
Replied by webgyrl on topic Re: How to center output

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.

More
17 years 3 months ago #1924 by Michael Sch#ll
Replied by Michael Sch#ll on topic Re: How to center output

Do you put that in the page before the gallery tag or is supposed to go in some css file somewhere?

Thanks for this!

"<div align="center">{gallery}folder/subfolder{/gallery}</div>"

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.

More
17 years 1 month ago #1925 by mtaras
Replied by mtaras on topic Re: How to center output
My sigpro_default.css file is like below and I finally make my thumbs to displayed center!!! The bad news: I delete the shadow effect because I can't display it beyond the centered thumbs.
/* --- 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.

More
15 years 11 months ago #1926 by dax702
Replied by dax702 on topic Re: How to center output
mtaras,
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.


Powered by Kunena Forum