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

Everything to do with Templates and Templating for Admiror Gallery.
Post Reply
Message
Author
oxygen
Maegashira
Maegashira
Posts: 14
Joined: Thu Aug 04, 2011 12:35 am

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

#1 Post 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:

Admiror Gallery 5 - Fundraising Campaign

User avatar
kekeljevic
Developer
Developer
Posts: 445
Joined: Tue Aug 17, 2010 2:38 pm
Location: Novi Sad, Serbia
Contact:

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

#2 Post 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%">

oxygen
Maegashira
Maegashira
Posts: 14
Joined: Thu Aug 04, 2011 12:35 am

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

#3 Post 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

User avatar
kekeljevic
Developer
Developer
Posts: 445
Joined: Tue Aug 17, 2010 2:38 pm
Location: Novi Sad, Serbia
Contact:

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

#4 Post by kekeljevic »

Send me ZIP to igor.kekeljevic@gmail.com to check it.

Post Reply