coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: macsimoin on May 30, 2006, 04:06:56 AM

Title: Admin.php (Congif) 'breaks' using Kubrick theme...
Post by: macsimoin on May 30, 2006, 04:06:56 AM
Similar to my other problem with my FAQ page, all of the text for the Configuration settings is centered...and it look horrible. I've been at this for hours and I still can't fix it. Any thoughts?
Title: Re: Admin.php (Congif) 'breaks' using Kubrick theme...
Post by: Joachim Müller on May 30, 2006, 04:33:21 AM
edit the stylesheet, find.admin_menu {
        font-family: Verdana, Helvetica, sans-serif;
        font-size: .75em;
        color:gray;
        margin-top: 0px;
        margin-bottom: 0px;
        margin-right:2px;
        margin-left:2px;
        text-align: center;
        background-color: #f8f8f8;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
}
and replace with.admin_menu {
        font-family: Verdana, Helvetica, sans-serif;
        font-size: .75em;
        color:gray;
        margin-top: 0px;
        margin-bottom: 0px;
        margin-right:2px;
        margin-left:2px;
        text-align: left;
        background-color: #f8f8f8;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
}
Use the "Web Developer Toolbar (http://forum.coppermine-gallery.net/index.php?topic=31423.msg145984#msg145984)" (or the similar tool "Web Accessibility Toolbar (http://forum.coppermine-gallery.net/index.php?topic=31423.msg145985#msg145985)" for IE) to find out what CSS class determines which part of the screen output and change accordingly. I recommend using a better browser than IE  ;).
Title: Re: Admin.php (Congif) 'breaks' using Kubrick theme...
Post by: macsimoin on May 30, 2006, 09:47:54 PM
GauGau,

Thanks...but this only worked in Firefox. I still can't fix it for IE6.
Title: Re: Admin.php (Congif) 'breaks' using Kubrick theme...
Post by: Gizmo on May 31, 2006, 01:52:40 AM
I've seen this problem with a couple of themes and haven't figured out exactly why but here's a fix that will work.

edit the template.html, find

                        <td valign="top">
                            <img src="images/spacer.gif" width="535" height="1" border="0" alt="" /><!-- determines the minimum width of the gallery section -->
                            {GALLERY}
                        </td>

and replace with

                        <td valign="top" align="left">
                            <img src="images/spacer.gif" width="535" height="1" border="0" alt="" /><!-- determines the minimum width of the gallery section -->
                            {GALLERY}
                        </td>


One of these days, I'll look into this as it does bother me as well.

Billy

PS. I agree... let's dump IE but maybe IE7 will be better (we can only hope!).
Title: Re: Admin.php (Congif) 'breaks' using Kubrick theme...
Post by: macsimoin on June 01, 2006, 01:25:41 AM
Gizmo,

You're a lifesaver! That's done it...it even fixed my FAQ page issue...well, not totally: http://forum.coppermine-gallery.net/index.php?topic=32024.msg148919#msg148919.

Thanks for your help!!! :D