• Rozwiązano slawek84

    (@slawek84)


    Mam pytanko odnośnei nextGen Gallery. Czy moglby mi ktoś powiedzieć jak usunąć białe ramki w którym umieszczane sa zdjęcia w galerii (http://slawekjanas.okoart.pl/?page_id=349)??? Męcze się z tym juz kilka dobrych godzin edytując styl galerii ..i nic. poniżej wklejam skrypt stylu:

    /* ———– Album Styles Extend ————-*/

    .ngg-albumoverview {
    margin: 10px 0px 0px 0px !important;
    width: 100%;
    clear:both;
    display:block !important;
    }

    .ngg-album {
    /*height: px;*/
    overflow:hidden;
    margin: 0px 0px 5px !important;
    padding: 5px;
    border: 1px solid #cccccc;
    }

    .ngg-albumtitle {
    font-family: Segoe Script;
    text-align: left;
    font-weight: bold;
    padding:0px;
    font-size: 1.4em;
    margin: 0px 0px 10px 0px !important;
    }

    .ngg-albumcontent {
    margin: 0px !important;
    }

    .ngg-thumbnail {
    margin:0px 0px 12px 0px !important;
    float: left;
    }

    .ngg-thumbnail img {
    background-color:#000000;
    border:0px solid:#000000;
    margin:4px 0px 4px 5px !important;
    padding:4px;
    position:relative;
    }

    .ngg-thumbnail img:hover {
    background-color: #A9A9A9;
    }

    .ngg-description {
    text-align: left;
    font-family: Candara;
    }

    /* ———– Album Styles Compact ————-*/

    .ngg-album-compact {
    float:left;
    height:200px;
    font-family: Candara;
    padding-right:6px !important;
    margin:0px !important;
    text-align:left;
    width:140px;
    }

    .ngg-album-compactbox {

    height:86px;
    margin:0pt 0pt 6px !important;
    padding:12px 0pt 0pt 7px !important;
    width:120px;
    }

    .ngg-album-link {
    margin:0px !important;
    }

    .ngg-album-compactbox .Thumb {
    border:1px solid #FFFFFF;
    margin:0px !important;
    padding:0px !important;
    width:121px;
    height:98px;
    }

    .ngg-album-compact h4 {
    font-size:15px;
    font-weight:bold;
    text-align:center;
    font-family: Segoe Script;
    margin-bottom:0px !important;
    margin-top:0px !important;
    width:110px;
    padding:10px !important;
    }

    .ngg-album-compact p {
    font-size:11px;
    margin-top:2px;
    }

    /* ———– Gallery style ————-*/

    .ngg-galleryoverview {
    margin-top: 10px;
    width: 100%;
    clear:both;
    display:block !important;
    }

    .ngg-gallery-thumbnail-box {
    margin:0px !important;
    float: left;
    }

    .ngg-gallery-thumbnail {
    float: left;
    background: url(shadowAlpha.png) no-repeat bottom right !important;
    background: url(shadow.gif) no-repeat bottom right;
    margin: 10px 0 0 10px !important;
    }

    .ngg-gallery-thumbnail img {
    margin: -6px 6px 6px -6px !important;
    background-color:#FFFFFF;
    border:1px solid #A9A9A9;
    display:block;
    padding:4px;
    position:relative;
    }

    .ngg-gallery-thumbnail img:hover {
    background-color: #A9A9A9;
    }

    .ngg-gallery-thumbnail span {
    /* Images description */
    font-size:90%;
    padding-left:5px;
    display:block;
    }

    .ngg-clear {
    clear: both;
    }

    /* ———– Gallery navigation ————-*/

    .ngg-navigation {
    font-size:0.9em !important;
    clear:both !important;
    display:block !important;
    padding-top:15px;
    text-align:center;
    }

    .ngg-navigation span {
    font-weight:bold;
    margin:0pt 6px;
    }

    .ngg-navigation a.page-numbers,
    .ngg-navigation a.next,
    .ngg-navigation a.prev,
    .ngg-navigation span.page-numbers,
    .ngg-navigation span.next,
    .ngg-navigation span.prev {
    border:1px solid #DDDDDD;
    margin-right:3px;
    padding:3px 7px;
    }

    .ngg-navigation a.page-numbers:hover,
    .ngg-navigation a.next:hover,
    .ngg-navigation a.prev:hover,
    .ngg-navigation span.page-numbers:hover,
    .ngg-navigation span.next:hover,
    .ngg-navigation span.prev:hover {
    background-color: #0066CC;
    color: #FFFFFF;
    text-decoration: none;
    }

    /* ———– Image browser style ————-*/

    .ngg-imagebrowser {

    }

    .ngg-imagebrowser h3 {
    text-align:center;
    }

    .ngg-imagebrowser img {
    border:1px solid #A9A9A9;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    display:block !important;
    padding:5px;
    }

    .ngg-imagebrowser-nav {
    padding:5px;
    margin-left:10px;
    }

    .ngg-imagebrowser-nav .back {
    float:left;
    border:1px solid #DDDDDD;
    margin-right:3px;
    padding:3px 7px;
    }

    .ngg-imagebrowser-nav .next {
    float:right;
    border:1px solid #DDDDDD;
    margin-right:3px;
    padding:3px 7px;
    }

    .ngg-imagebrowser-nav .counter {
    text-align:center;
    font-size:0.9em !important;
    }

    .exif-data {
    margin-left: auto !important;
    margin-right: auto !important;
    }

    /* ———– Slideshow ————-*/
    .slideshow {
    margin-left: auto;
    margin-right: auto;
    text-align:center;
    outline: none;
    }

    .slideshowlink {

    }

    /* ———– JS Slideshow ————-*/
    .ngg-slideshow {
    overflow:hidden;
    position: relative;
    }

    .ngg-slideshow * {
    vertical-align:middle;
    }

    /* See also : http://www.brunildo.org/test/img_center.html */
    .ngg-slideshow-loader{
    display: table-cell;
    text-align: center;
    vertical-align:middle;
    }

    .ngg-slideshow-loader img{
    background: none !important;
    border: 0 none !important;
    margin:auto !important;
    }

    /* ———– Single picture ————-*/
    .ngg-singlepic {
    background-color:#FFFFFF;
    display:block;
    padding:4px;
    }

    .ngg-left {
    float: left;
    margin-right:10px;
    }

    .ngg-right {
    float: right;
    margin-left:10px;
    }

    .ngg-center {
    margin-left: auto !important;
    margin-right: auto !important;
    }

    /* ———– Sidebar widget ————-*/
    .ngg-widget,
    .ngg-widget-slideshow {
    overflow: hidden;
    margin:0pt;
    padding:5px 0px 0px 0pt;
    text-align:left;
    }

    .ngg-widget img {
    border:2px solid #A9A9A9;
    margin:0pt 2px 2px 0px;
    padding:1px;
    }

    /* ———– Related images ————-*/
    .ngg-related-gallery {
    background:#F9F9F9;
    border:1px solid #E0E0E0;
    overflow:hidden;
    margin-bottom:1em;
    margin-top:1em;
    padding:5px;
    }
    .ngg-related-gallery img {
    border: 1px solid #DDDDDD;
    float: left;
    margin: 0pt 2px;
    padding: 2px;
    height: 50px;
    width: 50px;
    }

    .ngg-related-gallery img:hover {
    border: 1px solid #FFFFFF;
    }

    Bedę wdzieczny za pomoc,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator amistad18

    (@amistad18)

    Białą ramkę czy tło? Kombinuj tutaj:

    .ngg-gallery-thumbnail img

    Thread Starter slawek84

    (@slawek84)

    NO wlasnie to cos bialego co otacza kazda NO wlasnie cos kombinowalem w:
    }

    .ngg-gallery-thumbnail img {
    margin: -6px 6px 6px -6px !important;
    background-color:#FFFFFF;
    border:1px solid #A9A9A9;
    display:block;
    padding:4px;
    position:relative;
    }

    Lecz rezultaty marne dlatego wiec pomyslalem ze zapytam. Nie ma reakcji gdy zmienie kolor tła, lub wykasuje border … jakies sugestie? Dzieki za odpowiedz

    .ngg-gallery-thumbnail img {
        background-color: #FFFFFF;
        border: 1px solid #A9A9A9;
        display: block;
        margin: -6px 6px 6px -6px !important;
        padding: 4px;
        position: relative;
    }

    i tak: padding: 4px; opisuje jaka ma być ta „ramka” bo tak właściwie to wyznacza ona oddalenie obrazka od krawędzi jego pola, jeśli ma nie być w ogóle żadnych ramek to zmień sobie padding na 0px i usuń border, a jak chcesz inny kolor ramki to zmień background-color na jakiś inny 🙂

    no i jeszcze kolor po najechaniu myszka tutaj ustawisz :

    .ngg-gallery-thumbnail img:hover {
    background-color: #A9A9A9;
    }

    Thread Starter slawek84

    (@slawek84)

    Dzięki po stokroć …… problem rozwiązany;-) Pozdrawiam serdecznie

Viewing 4 replies - 1 through 4 (of 4 total)
  • Temat ‘NextGen gallery – pytanie do znawców’ jest zamknięty na nowe odpowiedzi.