Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: CSS settings in modpack  (Read 5547 times)

0 Members and 1 Guest are viewing this topic.

Mimer

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • Fjotte
CSS settings in modpack
« 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)
Logged

Nibbler

  • Guest
Re: CSS settings in modpack
« Reply #1 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.
Logged

Mimer

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • Fjotte
Re: CSS settings in modpack
« Reply #2 on: February 03, 2008, 12:02:37 am »

OK, thats the template.html right?

Mimer  8)
Logged

Nibbler

  • Guest
Re: CSS settings in modpack
« Reply #3 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.
Logged

Mimer

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • Fjotte
Re: CSS settings in modpack
« Reply #4 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)
Logged

Nibbler

  • Guest
Re: CSS settings in modpack
« Reply #5 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.
Logged

Mimer

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • Fjotte
Re: CSS settings in modpack
« Reply #6 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)
Logged

Mimer

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • Fjotte
Re: CSS settings in modpack
« Reply #7 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)
Logged

Nibbler

  • Guest
Re: CSS settings in modpack
« Reply #8 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.