4 column question

Everything to do with Templates and Templating for Admiror Gallery.
Post Reply
Message
Author
ppp1
Posts: 2
Joined: Fri Mar 29, 2013 9:51 pm

4 column question

#1 Post by ppp1 »

Hello there!!
Very nice job with the gallery!Love it!

I would like a 4 column gallery but as I can see there is no such template for version 4.5.
So I was thinking if I could douplicate the classic template and somehow make the necessary chances to make it....

The easiest way that cross my mind was to change the "main" margin-left (if there is somewhere in the css file) and squeeze the gallery in 4 collumns only....

Is it possibly??
If yes, which lines should check out in the css file?
If no, can you please give me a hint from where to start?

Thank you very much for your time! :)

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: 4 column question

#2 Post by Vasiljevski »

The main idea is correct, use classic as a starting point.

There is:

Code: Select all

.AG_classic .ag_thumbclassic {
    background-position: right bottom;
    background-repeat: no-repeat;
    float: left;
    margin: 0 10px 10px;
    padding: 0 4px 4px 0;
}
Experimenting with margin (as you suggested) and the width of the container gallery is in (in joomla it ususaly "content-[number]") you can get the 4 column gallery.

But if you need the gallery to be always be 4 columns, this might be tricky
Help Admiror Gallery become even better,
give us a review on JED

ppp1
Posts: 2
Joined: Fri Mar 29, 2013 9:51 pm

Re: 4 column question

#3 Post by ppp1 »

Thanks for the tip I'll try it out and come back again.
Yea I would like to be always 4 columns...

costaspap
Posts: 1
Joined: Sat May 11, 2013 2:16 am

Re: 4 column question

#4 Post by costaspap »

Hallo from me
just the same question but for 2 columns in classic template?
what if I've play with:
...plugins\content\admirorgallery\admirorgallery\templates\classic\template.css file but nothing except I manage to make something wrong (perhaps the utf8 with BOM saving?)
Any help will be appreciated.

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: 4 column question

#5 Post by Vasiljevski »

You can revert to the original, and try to set fixed width, so that gallery would be shown in two coloumn
Help Admiror Gallery become even better,
give us a review on JED

Admiror Gallery 5 - Fundraising Campaign

Post Reply