background colour not changing

Admiror Gallery is free extension for Joomla! 1.6. Joomla! 1.7 and Joomla! 2.5 based websites. Admiror Gallery is all in one, a simple and instant solution for rendering image gallery from folder with images, but very flexible and adaptable.
Post Reply
Message
Author
sarsells
Posts: 5
Joined: Tue Jan 21, 2014 12:11 pm

background colour not changing

#1 Post by sarsells »

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?

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: background colour not changing

#2 Post by Vasiljevski »

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

sarsells
Posts: 5
Joined: Tue Jan 21, 2014 12:11 pm

Re: background colour not changing

#3 Post by sarsells »

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

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

Re: background colour not changing

#4 Post by Vasiljevski »

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: Select all

    .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: Select all

    .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

sarsells
Posts: 5
Joined: Tue Jan 21, 2014 12:11 pm

Re: background colour not changing

#5 Post by sarsells »

Thank you :D that sorted it.
Is it possible to add css code somewhere to make the thumbnails have curved corners?

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: background colour not changing

#6 Post by Vasiljevski »

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

sarsells
Posts: 5
Joined: Tue Jan 21, 2014 12:11 pm

Re: background colour not changing

#7 Post by sarsells »

Thank you once again. I don't think i will do anything too ambitious just now ;)

Post Reply