modify "root page" (albums list)

mattpesquet

Joined: 2010-06-20
Posts: 8
Posted: Sun, 2010-06-20 23:30

hi all,
i m trying to set a modified theme of the siriux existing one to fit my own site.
lets have a look at this screen shot please

http://mattpesquet.com/screen_gal.jpg

wich file i have to modify to customize the "A" part (changing color, move it to another place in the page) ?

how can i remove the "B" white margin ?
in my default page code i have this:
<style type="text/css">
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
</style>

but if i put it in my new theme.ptl file, the main.php of Gallery or any page of my gallerie cant be displayed as if there is a big mistake in the code...

i tried to remove that part of the original them.ptl file too:

<style type="text/css">
.content {ldelim} width: {$theme.params.contentWidth}px; {rdelim}
{if !empty($theme.params.thumbnailSize)}
{assign var="thumbCellSize" value=$theme.params.thumbnailSize+30}
.gallery-thumb {ldelim} width: {$thumbCellSize}px; height: {$thumbCellSize}px; {rdelim}
.gallery-album {ldelim} height: {$thumbCellSize+30}px; {rdelim}
{/if}
</style>

and this result in the same problem.

anyone can help ?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2010-06-21 02:04
Quote:
wich file i have to modify to customize the "A" part (changing color, move it to another place in the page) ?

look for core links

Quote:
<style type="text/css">
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
</style>

but if i put it in my new theme.ptl file, the main.php of Gallery or any page of my gallerie cant be displayed as if there is a big mistake in the code...

try:

<style type="text/css">
body {ldelim}
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
{rdelim}
</style>

or better yet put it in theme.css where it belongs

have you tried: http://www.flashyourweb.com/staticpages/index.php?page=gallery2_embed-o-rator

-s

 
mattpesquet

Joined: 2010-06-20
Posts: 8
Posted: Sun, 2010-06-27 11:32

thank you for your help suprsidr.
i tried that piece of code, to add it in theme.css and few other ones but i still have those white margins :(
anyone else can help me ? any idea to remove that margin ?

i found the way to customize the design of the first album page, just modify the album.tpl at the bottom there is a part especially for the first page.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2010-06-27 13:17

use firefox and firebug to determine which element is creating the margin.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2010-06-27 17:05

@B:
edit

/* -- Main layout definitions ------------- */


body.gallery {
	margin: 1.5em;

To

/* -- Main layout definitions ------------- */


body.gallery {
	margin: 0em;

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mattpesquet

Joined: 2010-06-20
Posts: 8
Posted: Sun, 2010-06-27 20:05

thank you very much floridave, works perfectly !
:)