• Hello,

    every time when I Update the FILE GALLERY PlugIn, i have the same problem.
    In the folder: plugins -> file-gallery -> templates , there is always a new CSS file called
    columns.css“.

    In this file the with of the column is denoted. For Example:

    .gallery.columns_7 .gallery-item, #content .gallery.columns_7 .gallery-item
    { width: 14.3%;}

    This always is always overwriting my CSS styles (margin for my images).
    How can I disable this?

    Thank you for your help!

    Regards,

    gunness

Viewing 2 replies - 1 through 2 (of 2 total)
  • @gunness: that file is part of the plugin and will always be there ??

    If you need to override its settings use !important declarations in your CSS rules.

    If you don’t need it at all, you can use the following code to disable loading of “columns.css”:

    function remove_file_gallery_columns_css()
    {
        wp_dequeue_style('file_gallery_columns');
    }
    add_action( 'wp_print_styles', 'remove_file_gallery_columns_css' );

    I’ll probably add disabling of columns.css as an option to the plugin in near future.

    Thread Starter gunness

    (@gunness)

    Hello Aesqe,

    Thank you for you fast and in detail help!

    Regards,

    gunness

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: File Gallery]’ is closed to new replies.