coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: dams on December 24, 2006, 02:52:33 PM

Title: I feel dirty : I would like to wide the main frame
Post by: dams on December 24, 2006, 02:52:33 PM
Hi all,

I've just installed "I feel dirty theme" to match with my wordpress theme.

All is ok except the fact that my pics are 640*480 and are too large to match the main frame.

How can i do to wide the main frame ? It would be like this : http://wallyjarratt.com/gallery/index.php


Here is the link for my gallery :

http://dams04.1111mb.com/photos/index.php


Thans a lot.

Merry Xmas.


Title: Re: I feel dirty : I would like to wide the main frame
Post by: b4uphotos on December 24, 2006, 03:04:26 PM
Quote from: dams on December 24, 2006, 02:52:33 PM
Hi all,

I've just installed "I feel dirty theme" to match with my wordpress theme.

All is ok except the fact that my pics are 640*480 and are too large to match the main frame.

How can i do to wide the main frame ? It would be like this : http://wallyjarratt.com/gallery/index.php


Here is the link for my gallery :

http://dams04.1111mb.com/photos/index.php


Thans a lot.

Merry Xmas.





This is coming becuase of setting of DIV Class cnt in your style.css

Quote.cnt {
   width: 760px;
   background-color: #fff;
   margin: 20px auto 30px;
   }

Title: Re: I feel dirty : I would like to wide the main frame
Post by: dams on December 24, 2006, 03:16:18 PM
In which style.css ? I've got :

style_cpg.css
style_wp.css


I don't know which file I have to edit ?

What are the good values to set ?

I'm sorry, but I'm quite a newbie.

Thanks.
Title: Re: I feel dirty : I would like to wide the main frame
Post by: b4uphotos on December 24, 2006, 03:21:12 PM
I am not confirm abt this as never used such theme in my site but you can test it the thing is
make backup of your style_cpg.css file before doing this

in style_cpg.css file :

Quote.cpg_main {
   height: 100%;
   width: 512px;
   overflow-x: auto; /* handle overflow with scrollbar */
}

.cpg_main {
   height: 100%;
   width: 100%;
   overflow-x: auto; /* handle overflow with scrollbar */
}
Title: Re: I feel dirty : I would like to wide the main frame
Post by: dams on December 24, 2006, 03:46:15 PM
 :( Did not work.


I've tried to change in "style_wp"

Quote
/* ------------------------------------------------------------------------------
                        main                                         
------------------------------------------------------------------------------ */
.main {
   width: 760px;
   }

by

------------------------------------------------------------------------------
                        main                                         
------------------------------------------------------------------------------ */
.main {
   width: 1024px;
   }


The main frame is wider, but the menus on the right are on the same place.

So, I have to put them more on the left.


You can look how it looks with the width on 1024 px.
Title: Re: I feel dirty : I would like to wide the main frame
Post by: b4uphotos on December 24, 2006, 03:54:42 PM
can u please tell me from where i can download this theme so that i can check and tell u exactly what 2 do as i think i can do that in real time. and in the next reply of me if i takes time as its the time i am going to close my office if i takes time then wait for my reply else one of my senior may also assist u...
Title: Re: I feel dirty : I would like to wide the main frame
Post by: dams on December 24, 2006, 04:00:02 PM
You can download the them from this topic :

http://forum.coppermine-gallery.net/index.php?topic=38100.0



Thank you very much for your help and your time.

I'll wait for your reply. Do not hurry for me !  ;)


Thanks !!!
Title: Re: I feel dirty : I would like to wide the main frame
Post by: dams on December 24, 2006, 04:09:12 PM
Ok, shame on me, there is a link on the topic for the wider version.  :-[


I'm sorry for your time !

Have a nice day !