ClipShare Community Forums  

Go Back   ClipShare Community Forums > ClipShare - Standard & PRO - Version 2 and Previous > Styles / Templates
Register FAQ Bug Tracker Members List Calendar Mark Forums Read

Styles / Templates Use this forum to share or find help on creating CSS style sheets or full ClipShare templates.


Reply
 
Thread Tools Display Modes
Old 04-11-2007, 05:40 PM   #1
-XXX-
Member
|Forum Newbie|
 
Join Date: Apr 2007
Posts: 24
-XXX- is on a distinguished road
Default Cahngin distance between thumbnails on the watch page

Changing distance between thumbnails on the watch page.

We have css/style.css

in this file we can find:

Code:
.moduleFeaturedThumb {
    border: 5px solid #CC3333;
        margin: 5px;
}
let's modify it and remove all the distance between thumbnails

Code:
.moduleFeaturedThumb {
 border: 5px solid #CC3333;
        margin: 5px;

margin-top: 0em;    						
margin-right: 0em;
margin-left: 0em;
margin-bottom: 0em;
}
I expected to reve the distance but what I get in the result?

The result was very strange

this block chanhed only horizontal distance to zero and vertical distance left unchanged.

then I decided to increase the distance ebetween thumbnails

Code:
.moduleFeaturedThumb {
 border: 5px solid #CC3333;
        margin: 5px;

margin-top: 10em;    						
margin-right: 10em;
margin-left: 10em;
margin-bottom: 10em;
}
An it worked both for horizontal and vertical distance.

There is some minimul horizontal distance between thumbnails that can't be edited using css, you can increase the distance but can't decrease it.

Have anyone else the same problems?
-XXX- is offline   Reply With Quote
Old 04-11-2007, 05:57 PM   #2
-XXX-
Member
|Forum Newbie|
 
Join Date: Apr 2007
Posts: 24
-XXX- is on a distinguished road
Default

TO solve the problem go to template/video.tpl find the string

<TABLE cellSpacing=0 cellPadding=0 width=712 border=0 >

and play with the width, decreasing it you will decrease the minimum size between the rows.
-XXX- is offline   Reply With Quote
Old 04-12-2007, 12:42 AM   #3
-XXX-
Member
|Forum Newbie|
 
Join Date: Apr 2007
Posts: 24
-XXX- is on a distinguished road
Default

Or simply edit cellspacing= 1...[N]
<TABLE cellSpacing=0 cellPadding=0 width=712 border=0 >

-XXX- is offline   Reply With Quote
Old 04-12-2007, 08:13 PM   #4
-XXX-
Member
|Forum Newbie|
 
Join Date: Apr 2007
Posts: 24
-XXX- is on a distinguished road
Default

To change rows and colums find and change this code in chanels.tpl:

Code:
{if $smarty.section.i.index mod 3 eq "0" and $smarty.section.i.index gt "0"}

for exmple if you want to have 5 rows set "mod 5 eq "0"".

Unfortunately the hole number of chanels is shown on one page and it is not possible to change the the number of colums because there is no limit of colums to be shown on the page.
-XXX- is offline   Reply With Quote
Old 04-12-2007, 09:22 PM   #5
thepinoytube
Forum Advisor
|Forum Guru|
 
thepinoytube's Avatar
 
Join Date: Jan 2007
Location: Lost
Posts: 1,033
thepinoytube is on a distinguished road
Send a message via AIM to thepinoytube
Default

To make it seem less like you're having a conversation with yourself, I'd like to butt in and say thank you for posting your findings here on the forums. I'm sure others will find them useful!
__________________
Yours truly,
KAT
Resident CS Geekette
thepinoytube is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
watch categori DjBeowolf Styles / Templates 0 03-29-2007 07:40 AM
[1.7.0][MOD] Videos on 3 or 4 columns in Watch section videospud Bug Fixes / Addons / Mods 2 02-01-2007 05:33 AM



All times are GMT +1. The time now is 05:12 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © 2006-2008 Envient. All Rights Reserved.

An Envient product.