CSS Settings Class Identification / Theme Cache?

earnolmartin

Joined: 2012-05-22
Posts: 3
Posted: Tue, 2012-05-22 20:14

Hi All,

I'm having problems modifying one of the classes in Gallery that is responsible for the action menu (ul.g-context-menu). Anyone know where the settings are for this menu? As you can see by my screenshot, the default colors / image in the menu are completely wrong, and I can find nothing in the CSS stylesheet affecting this...

Is there a cache for each theme? I think there must be, as I have made changes to my CSS that do not immediately update. I looked through all of gallery's files, and I was unable to find a value being called for that color on the menu, and the images, I took out...

If confused, please look at the attached image, and let me know which stylesheet and definition is responsible for loading that color. If there is a theme cache, I need to know too.

Any ideas?

AttachmentSize
what_class_is_this.jpg62.22 KB
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-05-22 20:41

adding:

.g-context-menu li a {
color: red!important;
}

to the css seems to work for me.
I'm no CSS expert but I think t might not be defined in that class and just uses some defaults

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
earnolmartin

Joined: 2012-05-22
Posts: 3
Posted: Tue, 2012-05-22 20:49

It was an issue with the theme's cache. Where are the cache files stored? I didn't change a single thing in my CSS, but when I reuploaded the css file, it finally worked.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-05-22 20:57
Quote:
Where are the cache files stored?

There is a cache table in the DB.
It is far easier to just change one character in the CSS or JS for the cache to be recreated.
I guess I have never ran into this issue before.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
earnolmartin

Joined: 2012-05-22
Posts: 3
Posted: Tue, 2012-05-22 21:08

I did make subtle changes, and it was not updated until today when I tried it for the nth time. Thanks for the help though.