zpArdoise

Hi All

Could you tell me how can I make 5 or more columns in this theme?
1. I change Options->Theme->Albums->thumbnails per row No result;
2. I change themeoptions.php setThemeOption('albums_per_row', '5', NULL, 'zpArdoise'); No result
3. I change inc_print_album_thumb.php `<?php if ($x == 4) {$lastcol=' class="lastcol"'; $x = 0;} ?>;` No result

Please help me Obi-Wan Kenobi!

Comments

  • fretzl Administrator, Developer
    This is an example for 4 columns and thumbnails with a width of 194px and a height of 100px.

    In file `inc_header.php`
    find
    `
    setOption('personnal_thumb_width', '267', false);
    setOption('personnal_thumb_height', '133', false);
    `
    change '267' to '194'
    change '133' to '100'

    #####################

    In file `inc_print_album_thumb.php`
    find
    `if ($x == 3) {$lastcol=' class="lastcol"'; $x = 0;}`
    change $x == 3 to $x == 4

    #####################

    In file `css/screen.css`
    find
    `
    div#album-wrap ul li {
    width: 273px;
    ...
    ...
    }
    `
    change the width to 200px (= 194px + padding of 3px)
  • vincent3569 Member, Translator
    Please help me Obi-Wan Kenobi!

    Edit `inc_header.php`, you should
    All your answers, you will find
    With fretzl's anwsers, close to your needs, you will be

    thanks fretzl ;-)
  • fretzl Administrator, Developer
    You're welcome Master Yoda ;-)
  • vincent3569 Member, Translator
    I edit my previous post, but fretzl did the same.

    for an album thumbnail's width of 200px, in `screen.css`, you should set :
    `
    div#album-wrap ul li {
    width: 206px;
    display: block;
    float: left;
    margin: 10px 12px 10px 0;
    padding: 0;
    list-style-type: none;
    background: none;
    }
    `
  • fretzl Administrator, Developer
    Yeah, I forgot the padding ;-)
  • Thanks for your answers. But it's not working... :(http://dekornia.bober71.pl/index.php?album=oferta/dekory/

    The force isn't with me... :(
  • fretzl Administrator, Developer
    @vincent3569 and me had different solutions.
    Apparently you mixed them.

    `
    div#album-wrap ul li {
    width: 206px;
    ...
    ...
    }
    `
    Try changing the width to 200px
  • YOU MASTER! :D THX. When U come to Warsaw U have a beer!
Sign In or Register to comment.