• Resolved apconley

    (@apconley)


    I just updated to the most recent version of WordPress and updated my NextGen plugins at the same time. I then cleared my cache.

    The formatting which I applied to my NextGen thumbnails in CSS is now being overwritten with spurious code. Now, my thumbnails now have a white background and gray border. The CSS calls for a black background and no border. The padding is also wrong.

    I have disabled all plugins except NextGen. This made no difference.

    The spurious code, which appears in the live webpage is:
    .ngg-gallery-thumbnail {
    text-align: center;
    max-width: 100%!important;
    background-color: #FFF;
    border: 1px solid #A9A9A9;
    margin: 5px;
    }

    The formatting code in my CSS is:
    .ngg-gallery-thumbnail {
    background-color: rgba(255,255,255,.1)!important; /*1% white on black page*/
    padding:8px 12px 8px 8px!important;
    margin-bottom:4px!important;
    margin-left:12px!important;
    }

    My website is: http://www.aileen-conley.com/, and the error is occurring on the portfolio page.

    Where does the ‘junk’ code come from? How do I get rid of it?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Is your custom CSS in a file within the ngg_styles folder, or did you edit the master CSS file which is buried deep in the file structure? The master CSS files get overwritten with every update.

    Plugin Contributor photocrati

    (@photocrati)

    @apconley – Based on the URL you provided and the source code it has shows you are not using the most current versions of WordPress or NextGEN Gallery.

    Also to note, the URL you provided is using a display rendered by a third-party extension of NextGEN Gallery, if the custom CSS you are looking for is not being used it may be within that plugin that you need to review as well.

    Thanks!

    – Cais.

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

The topic ‘NextGen update: formatting errors occurring, not caused by other plugins.’ is closed to new replies.