It is currently Fri Dec 15, 2017 5:49 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Tue Feb 04, 2014 9:43 pm 
Offline

Joined: Tue Jan 21, 2014 12:11 pm
Posts: 5
Hi
I have created a gallery at
http://www.bissonbears.co.uk/index.php/k2-blog
I am unable to change the background colour, despite having changed it in the control panel
Please can you advise?


Top
 Profile  
 
 Post subject: background colour not changing
PostPosted: Tue Feb 04, 2014 9:43 pm 
Top  
PostPosted: Wed Feb 05, 2014 5:12 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
What exactly do you mean by background color?

The frame color around the thumbnails?

_________________
Help Admiror Gallery become even better,
give us a review on JED


Top
 Profile  
 
PostPosted: Wed Feb 05, 2014 5:38 pm 
Offline

Joined: Tue Jan 21, 2014 12:11 pm
Posts: 5
yes that is what I mean, and i assumed that in the ontrol panel where is gives the option for background colour, that is what it meant?
Kind regards
Sarah


Top
 Profile  
 
PostPosted: Thu Feb 06, 2014 3:06 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
This is defined on the gallery template level, in your case classic template.

As I see default classic doesn't use background color parameter, so you should add it.

Open plugins/content/admirorgallery/admirorgallery/templates/classic/index.php and find this part:
Code:
    .AG_classic .ag_imageThumb {border-color:#' . $AG->params['foregroundColor'] . '}
    .AG_classic .ag_imageThumb:hover {background-color:#' . $AG->params['highliteColor'] . '}

It should be line 25, and change it to this:
Code:
    .AG_classic .ag_imageThumb {border-color:#' . $AG->params['foregroundColor'] . '}
    .AG_classic .ag_imageThumb {background:#' . $AG->params['backgroundColor'] . '}
    .AG_classic .ag_imageThumb:hover {background-color:#' . $AG->params['highliteColor'] . '}


Now it will apply background color.

_________________
Help Admiror Gallery become even better,
give us a review on JED


Top
 Profile  
 
PostPosted: Thu Feb 06, 2014 3:51 pm 
Offline

Joined: Tue Jan 21, 2014 12:11 pm
Posts: 5
Thank you :D that sorted it.
Is it possible to add css code somewhere to make the thumbnails have curved corners?


Top
 Profile  
 
 Post subject: Re: background colour not changing
PostPosted: Thu Feb 06, 2014 3:51 pm 
Top  
PostPosted: Thu Feb 06, 2014 4:43 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
In classic template folder, there is template.css you can use it to add changes you want.

You can also make your own template, copy classic folder, rename it, make changs to details.xml file and you can define your own template. Just an idea :)

_________________
Help Admiror Gallery become even better,
give us a review on JED


Top
 Profile  
 
PostPosted: Thu Feb 06, 2014 5:19 pm 
Offline

Joined: Tue Jan 21, 2014 12:11 pm
Posts: 5
Thank you once again. I don't think i will do anything too ambitious just now ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 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