It is currently Fri Dec 15, 2017 12:27 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: 4 column question
PostPosted: Fri Mar 29, 2013 9:53 pm 
Offline

Joined: Fri Mar 29, 2013 9:51 pm
Posts: 2
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! :)


Top
 Profile  
 
 Post subject: 4 column question
PostPosted: Fri Mar 29, 2013 9:53 pm 
Top  
 Post subject: Re: 4 column question
PostPosted: Mon Apr 01, 2013 6:05 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
The main idea is correct, use classic as a starting point.

There is:

Code:
.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


Top
 Profile  
 
 Post subject: Re: 4 column question
PostPosted: Wed Apr 03, 2013 5:46 pm 
Offline

Joined: Fri Mar 29, 2013 9:51 pm
Posts: 2
Thanks for the tip I'll try it out and come back again.
Yea I would like to be always 4 columns...


Top
 Profile  
 
 Post subject: Re: 4 column question
PostPosted: Sat May 11, 2013 2:19 am 
Offline

Joined: Sat May 11, 2013 2:16 am
Posts: 1
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.


Top
 Profile  
 
 Post subject: Re: 4 column question
PostPosted: Mon May 13, 2013 10:59 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
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


Top
 Profile  
 
 Post subject: Re: 4 column question
PostPosted: Mon May 13, 2013 10:59 am 
Top  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

 


All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

This is the official Admiror Joomla! Community Forum. You are welcome to join the Admiror Joomla! Community. All Admiror Joomla! Extensions Users, Joomla! Developers, PHP or mySQL Developers are welcome to support & contribute to Admiror Joomla! Projects.

Joomla! is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect for your website!

Joomla! is written in PHP, uses object-oriented programming (OOP) techniques and software patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.

Joomla! is the property of Open Source Matters, Inc. All rights reserved. Read more about Joomla! at http://www.joomla.org/.


Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group