Page 1 of 1

How to Center all items (Album Thumbs, Image Thumbs, ...)

Posted: Tue Aug 09, 2011 8:44 pm
by oxygen
Hello, i spend the whole day on centering all thumbs on this page:
http://www.wall-fotografie.de/wf/index. ... =0&AG_MK=0
but as you can see, there are some "bugs" left. if there ist only 1 Line with thumbs, it line doesn't center.(e.g. http://www.wall-fotografie.de/wf/index. ... =0&AG_MK=0)
I checked the code from the Classic_centered_3 template and changed some lines in the normal Classic template files (index.php and template.css)
So, what can i do to fix the problem.
Please answer as soon as possible.
Thanks

P.S. I'm a completely new on css- and php-programming :oops:

Re: How to Center all items (Album Thumbs, Image Thumbs, ...

Posted: Wed Aug 10, 2011 8:12 am
by kekeljevic
I see that You made Your template called classic-EW. Go in folder /plugins/content/AdmirorGallery/templates/classic-EW and edit index.php.

Search for <table cellspacing="0" cellpadding="0" border="0"> (it's probably near line 32) and add width="100%" attribute inside. Everything else You did nice.

Code: Select all

<table cellspacing="0" cellpadding="0" border="0" width="100%">

Re: How to Center all items (Album Thumbs, Image Thumbs, ...

Posted: Wed Aug 10, 2011 11:40 pm
by oxygen
Thanks. it works great :D

Some little modification i will do in near future, like hover border and so on...
how can i do the template ready for sharing and publishing here.
i tryed with packing my Template-folder(classic-EW) in a zip-file on my local mashine, but i can't install it.
(all the changes i did with coping the template files over ftp-Software to my joomla)

greetz,
eddy

Re: How to Center all items (Album Thumbs, Image Thumbs, ...

Posted: Thu Aug 11, 2011 8:52 am
by kekeljevic
Send me ZIP to igor.kekeljevic@gmail.com to check it.