forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: Texan78 on March 11, 2005, 06:33:00 am

Title: Need some info
Post by: Texan78 on March 11, 2005, 06:33:00 am
I need some help with some stuff and i looked all the through the FAQ.

First i need to center the menu under the logo and cant find where the table for the menu resides to do this. You can see what im talking about here: http://www.texascampingforum.com/gallery/index.php

Second, i also would like to make the text  for the Catagorys larger so it stands out, e.g. Camping,Fishing,Huntin, etc. you can see what im talking about from the links above. I have changed them but ti changes it across the baord and i just want that changed.

Lastly, can i use my user DB from my phpBB so mebers dont have to sign up twice.


Thanks in advance.
Title: Re: Need some info
Post by: Joachim Müller on March 11, 2005, 07:44:16 am
I need some help with some stuff and i looked all the through the FAQ.
Reading the FAQ isn't enough, you should search the board before posting as well.

First i need to center the menu under the logo and cant find where the table for the menu resides to do this. You can see what im talking about here: http://www.texascampingforum.com/gallery/index.php
Just edit themes/classic/template.html and add the necessary code to center the menu (btw. you shouldn't use the name "classic" for your theme, but start with a theme name of your own and leave the classic theme untouched), replace
Code: [Select]
                <table width="100%"align="center" border="0" cellspacing="0" cellpadding="0">
                       <tr>
                                <center><td><a href="http://www.texascampingforum.com"><img src="themes/classic/images/site_logo.png" alt="" border="0" /><br /></a></td></center>
                                <td width="100%" align="center">
                                        <h1> </h1>
                                        <h3> </h3><br />
                                        {MAIN_MENU}
                                </td>

                        </tr>
                </table>
(which has improperly nested tags as well) with
Code: [Select]
                <table width="100%"align="center" border="0" cellspacing="0" cellpadding="0">
                       <tr>
                                <td align="center"><a href="http://www.texascampingforum.com"><img src="themes/classic/images/site_logo.png" alt="" border="0" /><br /></a></td>
                       </tr>
                       <tr>
                                <td width="100%" align="center">
                                        <h1> </h1>
                                        <h3> </h3><br />
                                        {MAIN_MENU}
                                </td>
                        </tr>
                </table>

Second,...
We have a "one question per thread" policy you agreed to respect when signing up for your account on this forum. Please respect it in the future! >:(


i also would like to make the text  for the Catagorys larger so it stands out, e.g. Camping,Fishing,Huntin, etc. you can see what im talking about from the links above. I have changed them but ti changes it across the baord and i just want that changed.
Just edit your stylesheet (themes/classic/style.css) accordingly. The class to look out for is "catlink"

Lastly, can i use my user DB from my phpBB so mebers dont have to sign up twice.
Yes, this process is called bridging. Read the documentation that comes with coppermine (and that is available online as well, see the "documentation" link at the very top of this screen) and take a look at the section "5. Integrating the script with your bulletin board (http://coppermine.sourceforge.net/manual.php#integrating)

Joachim
Title: Re: Need some info
Post by: Texan78 on March 11, 2005, 11:06:25 am
Thanks, 2 out of 3 down. catlink doesnt have option to chnage text size. This is what i have.

Code: [Select]
.catlink {
        display: block;
        margin-bottom: 2px;
}

.catlink a {
        text-decoration: underline;
        color: #000000;
}

.catlink a:hover {
        color: #000000;
        text-decoration: underline;
}


Now the only way i could get the text to chnage is with this code
Code: [Select]
}

table {
        font-size: 12px;
}

But that codes changes the size of the text acroos the board, and i dont want that. Just the categorys
Title: Re: Need some info
Post by: kegobeer on March 11, 2005, 12:48:10 pm
Put your font declaration in .catlink instead of table.  See if that works.
Title: Re: Need some info
Post by: Texan78 on March 12, 2005, 06:02:53 am
Done, thanks