The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

NextGEN Gallery
[resolved] How to get rid of these rounded corners ? (5 posts)

  1. smashouille
    Posted 3 years ago #


    It looks like the default NextGen gallery comes with little rounded corners on my thumbnail images (1 or 2 px only). And I really having hard time to make them square.

    I looked everywhere in the nggallery.css, but could not find anything related to these corners. I removed the paddings, borders... For that it's alright, but I still have these rounded corner on my thumbnail images !

    Only in the gallery.php, by desactivating <?php echo $image->thumbcode ?>, the picture didn't show up, but the corners were square. So i am wondering if it has something to do with the thumbcode ?
    If yes I don't know where this code is written.

    Does anyone experiencing the same issue ?
    Any help would much appreciated :)



  2. smashouille
    Posted 3 years ago #

    Nobody has an idea ?
    I am still stuck with that...

    I don't understand because on their website they do have square corner on the example gallery :

    If someone could help me on that :)

    thanks guys

  3. smashouille
    Posted 3 years ago #

    Solved !!

    For those of you who are interested in,
    It was not coming from Nextgen gallery, but from the basic theme I am using (twenty twelve).
    In the style.css, you have this code you can remove (line 362):

    img.wp-post-image {
    	/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
    	border-radius: 3px;
    	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);


  4. oonie
    Posted 3 years ago #

    thank you very much

  5. photocrati
    Plugin Author

    Posted 3 years ago #

    @smashouille: Yes, that's a twenty twelve things. Thanks very much for posting your solution. Much appreciated.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic