Page 1 of 1

4 column question

Posted: Fri Mar 29, 2013 9:53 pm
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! :)

Re: 4 column question

Posted: Mon Apr 01, 2013 6:05 pm
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

Re: 4 column question

Posted: Wed Apr 03, 2013 5:46 pm
by ppp1
Thanks for the tip I'll try it out and come back again.
Yea I would like to be always 4 columns...

Re: 4 column question

Posted: Sat May 11, 2013 2:19 am
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.

Re: 4 column question

Posted: Mon May 13, 2013 10:59 am
by Vasiljevski
You can revert to the original, and try to set fixed width, so that gallery would be shown in two coloumn