WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Player Template
styling (6 posts)

  1. llirik
    Member
    Posted 10 months ago #

    hey, ive dug deep in and i can't find out where to do this and the things i've tried have no effect.

    basically, im trying to remove the padding that comes with it... i can see using developer mode that 5px are being padded... but specifically setting gv_galleryWrap to padding 0 is doing nothing.

    i've also noticed included are light and dark themes, but absolutely no documentation on how to activate, nor can i find the direct links to the files ANYWHERE in the css.

    http://wordpress.org/plugins/nextgen-player-template/

  2. piotr.tokarczyk
    Member
    Plugin Author

    Posted 10 months ago #

    It is dynamically calculated, you can't do it in css.
    What you can do is to write jq or js script to interact with galleryview events. This will allow you to change dimenssions your way.
    You can also edit galleryview js file.

  3. llirik
    Member
    Posted 10 months ago #

    hmm, i dont really know js. and i couldnt find anywhere in the galleryview js that looks like its adding the 5 px. what should i be looking for?

  4. piotr.tokarczyk
    Member
    Plugin Author

    Posted 10 months ago #

    Search for "padding" in galleryview js file and you will see.

  5. llirik
    Member
    Posted 10 months ago #

    Hey, thanks for the quick reply.

    I found this and just commented out the line

    dom.gv_galleryWrap.css({
    width: gv.outerWidth(dom.gv_gallery),
    height: gv.outerHeight(dom.gv_gallery)
    /*padding: this.opts.frame_gap*/
    });

    but it seems to have done nothing and the 5px are still being added.

    also, as im understanding it, this will remove padding completely from the frame, including the thumbnails (ive tried in developer mode unchecking padding to see)... what im trying to do is here:

    http://www.mspv.com/V2/products/military/s8

    remove the padding from the main image so that it spans the entire div... but the padding below for the thumbnails is good and clear.

  6. piotr.tokarczyk
    Member
    Plugin Author

    Posted 10 months ago #

    Search for gv_frame class and margin-right and margin-bottom.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.