Topic Closed
jogai
264 Posts

Is it possible to block loading the css of the default galleries? I want to style the gallery in my theme.

Mentioned here: http://docs.gpeasy.com/Main/Creating_Galleries

will override the default gallery styles.

But I dont know how...

7 years ago#5171

I override much CSS using the style file but remember having an issue with the built in gallery, just can't remember why.

Appreciate this means another personal update when upgrading but they are hard to escape anyway. So you could just amend:

include/css/default_gallery.css

The gallery is likely to be different every site, so I just include this as standard practice. It's a fairly brief, easy CSS file to work with. May not be the "correct" way but no hassle either.

7 years ago#5177

jogai
264 Posts

Yeah, thats possible, but I think there is a gpEasy way of doing this..

7 years ago#5179

Josh S.
2K Posts
266K Downloads
16 Themes
18 Plugins

Check out this plugin: http://gpeasy.com/Plugins?id=66

The css file in this plugin replaces the default css file. At the time, this seemed like an appropriate way of allowing users to share different gallery layouts, but maybe we need something more simple.

7 years ago#5255

That is not a bad approach Josh. With the plugin installed, the new gallery.css in the plugin can be amended as required and will not be changed by an /include/ update. 

7 years ago#5257

Josh S.
2K Posts
266K Downloads
16 Themes
18 Plugins

True, thanks for the vote of confidence!

7 years ago#5261

juergen
1.4K Posts
51.4K Downloads
16 Plugins
design, web development & visual effects
I mostly override the default gallery styles with custom ones in my theme stylesheets. Can't remeber having any issues with that. As long as every rule used in the gallery's default stylesheet it redefined in your own theme stylesheet, it should work. If not (for whatever reason) try using !important - this will take precedence over all other declarations, even inline styles.
7 years ago#5263

Topic Closed

 

News

Typesetter 5.1
8/12/2017

Typesetter 5.0.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

Over 8 Times Faster Than Wordpress
5/3/2016

We've known for a long time that Typesetter is fast. It's something we take pride ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register