WordPress.org

Forums

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

  1. smashouille
    Member
    Posted 2 years ago #

    Hello,

    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 :)

    thanks

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. smashouille
    Member
    Posted 2 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 :
    http://www.nextgen-gallery.com/nextgen-gallery-demos/

    If someone could help me on that :)

    thanks guys

  3. smashouille
    Member
    Posted 2 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);
    }

    Cheers,

  4. oonie
    Member
    Posted 1 year ago #

    thank you very much

  5. photocrati
    Member
    Plugin Author

    Posted 1 year 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