• Resolved dmx09

    (@dmx09)


    Any idea how I can remove the padding on album displays? I’m happy to edit the CSS in my theme but as the developers have used ‘!important’ on the following code, I can’t override this to remove the padding.

    .ngg-album-compactbox {
    padding: 8px!important;
    I removed the non-relevant lines of code for clarity
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Imagely

    (@imagely)

    @dmx09 – Try being a bit more specific in the custom CSS you apply as you were following the right path. The following (added under Gallery > Other Options > Styles) should work better (although you may need to further tweak for your preferences):

    .ngg-album-compact .ngg-album-compactbox { padding: 0 !important; }

    Thanks!

    – Cais.

    Thread Starter dmx09

    (@dmx09)

    Spot on, many thanks!

    Plugin Contributor Imagely

    (@imagely)

    @dmx09 – You’re welcome!

    – Cais.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Tweak CSS’ is closed to new replies.