• Resolved thedrewseum

    (@thedrewseum)


    Does anyone have a fix for centering the thumbnails in the NextGen sidebar widget while using the current version of the plugin? I tried adding the following to the custom css to no avail:

    .ngg-widget {
    text-align:center;
    margin-right:5%;
    }

    I would love to have my thumbnails centered here instead of left aligned.

    https://wordpress.org/plugins/nextgen-gallery/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @thedrewseum – Do you have a link to where you are using the widget? In some cases you will need to take into account the theme’s styles to accomplish what you are trying to do.

    Thanks!

    – Cais.

    Thread Starter thedrewseum

    (@thedrewseum)

    Yes apologies for not leaving the link in the original post. It’s located at thedrewseum.com. The theme we use is Jessica Fletcher Redux.

    Plugin Contributor photocrati

    (@photocrati)

    @thedrewseum – The key is setting a specific width in this case, try something along these lines:

    div.ngg-widget.entry-content {
    	width: 200px;
    	margin-left: auto;
    	margin-right: auto;
    }

    You may need to adjust the width to best suit your theme’s layout but the above will work.

    – Cais

    Thread Starter thedrewseum

    (@thedrewseum)

    Hi Cais,

    I added that to the custom css but it hasn’t made a difference. I tried playing around with the width but nothing I do seems to have any effect.

    Plugin Contributor photocrati

    (@photocrati)

    @thedrewseum – I do know the above worked in testing … you may need to add more CSS specificity to your version of the custom CSS to take into consideration anything your theme (or another plugin?) may be doing.

    Thanks!

    – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Center Thumbnails in Sidebar Widget’ is closed to new replies.