coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: jeepguy_1980 on November 09, 2008, 05:00:34 PM

Title: Using 100% width on Prosilver based themes
Post by: jeepguy_1980 on November 09, 2008, 05:00:34 PM
What would it take to change one of the ProSilver based themes to fill the width of the browser window, like the phpBB3 ProSilver themes do?
Title: Re: Using 100% width on Prosilver based themes
Post by: jeepguy_1980 on November 10, 2008, 01:21:49 AM
The theme I want to stretch is the ProSilver theme for Coppermine.
Title: Re: Using 100% width on Prosilver based themes
Post by: Joachim Müller on November 10, 2008, 07:46:45 AM
Edit http://yoursite.tld/your_coppermine_folder/themes/prosilver/theme/portal_adds.css
Find#wrap { 
   padding: 0px 20px 0 20px;
   min-width: 650px;
   width: 930px;  /* change here to set the inner width (forum) of the wrapper */
   margin: 0px auto; 


.outside {
   margin: 0px auto;
   width : 970px; /* change here to set the outer width (borders) of the wrapper */
   <!--[if IE]>
   overflow:hidden;
   <![endif]-->   
}
and edit the width attributes as you see fit.

In the other thread you posted in (http://forum.coppermine-gallery.net/index.php/topic,55921.msg274743.html#msg274743) I already told you about board rules (http://forum.coppermine-gallery.net/index.php/topic,55415.0.html). Please read those rules entirely. One of the rules you failed to read or ignored for unknown reasons is [8] Board rules / Forum policies: Post Links (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616). There's a reason why those rules exist - we can only help you properly if you respect board rules and do as suggested there.
If the original prosilver theme for phpBB3 is for full width, you might download that and use a diff viewer to find out the differences.
Title: Re: Using 100% width on Prosilver based themes
Post by: jeepguy_1980 on November 10, 2008, 05:30:55 PM
Thank you for your help. I had read the forum rules prior to making any posts. I agree the original post may have been out of forum rules.

I didn't post any links b/c, I don't have the ProSilver theme set right now and b/c my question was in regards to widening the ProSilver theme was based on an unmodified CPG and ProSilver theme.

But I do appreciate your help.
Title: Re: Using 100% width on Prosilver based themes
Post by: Joachim Müller on November 11, 2008, 07:18:20 AM
Well, then get the existing Prosilver theme, upload it and try if you can figure out how to get the full width thingy working. If you should succeed, post what you did for the benefit of others with similar issues. If you fail, post a link to your gallery. Using the Web Developer Toolbar, supporters can try to make your theme match. You don't have to switch themes yet if you're afraid that a work-in-progress theme might scare visitors away - just add theme=prosilver to the URL to display the theme only for you and not for everyone else.