forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: Mimer on February 02, 2008, 11:54:22 pm

Title: CSS settings in modpack
Post by: Mimer on February 02, 2008, 11:54:22 pm
Hi Stramm

Maybe you can help me with this.
I'm adapting the Hardwired theme for the modpack and have a few issues.
I have added required lines in CSS and so on.
When I install the modpack the text "Powered by" and "Modded by" turns black. Where can I control this color?
Another thing I would like to change is the formatting of font and background color in boxes.
I've attached a screencapture.

Mimer 8)
Title: Re: CSS settings in modpack
Post by: Nibbler on February 02, 2008, 11:57:35 pm
Try using the web developer extension in firefox, or just read the html to see what classes are being used where. The footer is controlled by the footer class for example.
Title: Re: CSS settings in modpack
Post by: Mimer on February 03, 2008, 12:02:37 am
OK, thats the template.html right?

Mimer  8)
Title: Re: CSS settings in modpack
Post by: Nibbler on February 03, 2008, 12:11:20 am
What? To change the colours you need to modify your stylesheet, ie themes/hardwired/style.css. It is advisable to make your own custom theme by copying hardwired instead of modifying it directly.
Title: Re: CSS settings in modpack
Post by: Mimer on February 03, 2008, 12:21:18 am
... or just read the html to see what classes are being used where..

This html is the template.html right?
I'm modifying a copy of course.

Mimer  8)
Title: Re: CSS settings in modpack
Post by: Nibbler on February 03, 2008, 12:22:47 am
I meant the HTML output. Right click -> view source. Search for what you want to change and see what contains it.
Title: Re: CSS settings in modpack
Post by: Mimer on February 03, 2008, 12:24:29 am
OK.

Footer found and changed - in CSS  ;D
I'll try to find the "box".

Mimer  8)
Title: Re: CSS settings in modpack
Post by: Mimer on February 03, 2008, 12:40:47 am
I found the box, but I cannot figure out any class for the box.
Code: [Select]
<td>
<br />Skift til:<br />
<select name="view" style="width: 250px;" onchange="this.form.submit();">
<option  value="0"  selected="selected">Aktive venner (0 users)</option>
<option value="3" >Jeg vil være venner med (0 users)</option>
<option value="2" >Brugere der vil være mine venner (0 users)</option>
<option value="1" >Blokkerede brugere (0 users)</option>
</select><!-- go button -->
<input type="submit" class="button" value="Go"  />
</td>

Mimer  8)
Title: Re: CSS settings in modpack
Post by: Nibbler on February 03, 2008, 01:02:52 am
Either modify the code and add a class or set a global style for all select elements.