Member
Member
Bober   2013-09-19, 21:17
#1
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!
Administrator
Administrator
fretzl   2013-09-21, 09:12
#2
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)
Member
Member
vincent3569   2013-09-21, 09:20
#3
[quote]Please help me Obi-Wan Kenobi!

[/quote]
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 ;-)
Administrator
Administrator
fretzl   2013-09-21, 09:23
#4
You're welcome Master Yoda ;-)
Member
Member
vincent3569   2013-09-21, 09:40
#5
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;
}
`
Administrator
Administrator
fretzl   2013-09-21, 10:00
#6
Yeah, I forgot the padding ;-)
Member
Member
Bober   2013-10-01, 18:33
#7
Thanks for your answers. But it's not working... :( http://dekornia.bober71.pl/index.php?album=oferta/dekory/

The force isn't with me... :(
Administrator
Administrator
fretzl   2013-10-01, 18:56
#8
@vincent3569 and me had different solutions.
Apparently you mixed them.

`
div#album-wrap ul li {
width: 206px;
...
...
}
`
Try changing the width to 200px
Member
Member
Bober   2013-10-01, 19:58
#9
YOU MASTER! :D THX. When U come to Warsaw U have a beer!
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.