Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: CSS for project_vii  (Read 5747 times)

0 Members and 1 Guest are viewing this topic.

BabeandJamie4Ever

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 67
CSS for project_vii
« on: January 07, 2008, 12:25:56 am »

I was attempting to change the CSS to greys for water_drop and with no success, I switched over to project_vii since it already has some grey's and would be less to figure out. I want the background white surround the tables to change to grey to match my header. Where in the CSS do I change this? Ive searched through all the darker white codes and tryied changing them with no luck.

Here's a link to my gallery: http://www.justin-bruening.net/Gallery
« Last Edit: January 07, 2008, 11:20:58 pm by Nibbler »
Logged

SaWey

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1119
    • SaWey.be
Re: CSS for project_vii
« Reply #1 on: January 07, 2008, 12:55:16 am »

I do not unserstand your question very well, but do you want to change the whole background color of the page?

Here are some possibilities:
(I only wrote down what css classes are used, so you have to edit the background-color for that class)

  • body
  • CUSTOM_HEADER
  • HEADER
  • SUB_MENU
  • GELLERY
  • maintable
  • CUSTOM_FOOTER
  • VANITY
Logged

BabeandJamie4Ever

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 67
Re: CSS for project_vii
« Reply #2 on: January 07, 2008, 02:29:43 am »

I tried changing the colours for those sections to the grey's I want to use and it doesnt change. I then just to see if its my grey's or not, changed it all to blue, and nothing changes.

The area Im talking about is the one that goes around the three tables. Like from where the powered by coppermine gallery is, around the left and right sides of the three sections and between the admin buttons and the universal buttons.
Logged

SaWey

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1119
    • SaWey.be
Re: CSS for project_vii
« Reply #3 on: January 07, 2008, 03:27:33 am »

Are you sure you are editing the right css file? the one of project_vii?

Try changing the backgroun-color element of the first class
Code: [Select]
body {
        background-color: #CCCCCC;
        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
        font-size : 12px;
        color: #000000;
        margin: 0px;
}
Logged

BabeandJamie4Ever

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 67
Re: CSS for project_vii
« Reply #4 on: January 07, 2008, 03:57:18 am »

Ive got the style sheet for the project_vii, and I tried changing the background color in that section. I then save it, upload it in FTP and overwrite the file. Refresh my gallery and its still the same as before  ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CSS for project_vii
« Reply #5 on: January 07, 2008, 09:08:22 am »

Take a look at Making a brand new theme, where to start? as well: the tools suggested there will help you to figure out what CSS class is being used for what part of coppermine (or any other CSS-driven site).
Logged

BabeandJamie4Ever

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 67
Re: CSS for project_vii
« Reply #6 on: January 07, 2008, 06:12:08 pm »

I downloaded the program and read documentation and such to figure out how to check which class is being used for what part but cant figure it out. But what I did notice was that when I change the CSS, upload it, refresh the gallery and then use the show style sheet option, the style sheet it provides is showing that none of my changes are taking place. Its all the previous colour values and not the ones I had changed them to.  ???
Logged

Nibbler

  • Guest
Re: CSS for project_vii
« Reply #7 on: January 07, 2008, 06:53:05 pm »

That's because you haven't actually uploaded it.

http://www.justin-bruening.net/Gallery/themes/project_vii/

Last modification date for the style.css is 27-Nov-2007 20:19
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: CSS for project_vii
« Reply #8 on: January 07, 2008, 07:13:21 pm »

I've made that mistake in the past before too. Rename your old css file on your host then upload the new one. There are numerous reasons why they do not overwrite.

A far better option would be to install something like WAMP  ( http://www.wampserver.com/en/ ) on your computer and then install coppermine on your local machine. That way you can play with it without having to upload anything to your live site and see results far quicker.

Also be aware that some buttons/headers contain background graphics so no amount of css fiddling will change them. I found the colours used button in the accessability toolbar one of the most useful items for working out what is going on with the css.

All of the above mistakes I made this week when rebuilding the classic themes css to fit my new site here.

http://www.windsurf.me.uk/cpg133
« Last Edit: January 07, 2008, 07:20:54 pm by phill104 »
Logged
It is a mistake to think you can solve any major problems just with potatoes.

BabeandJamie4Ever

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 67
Re: CSS for project_vii
« Reply #9 on: January 07, 2008, 07:18:26 pm »

I copied the folder for that theme and renamed it "May" and that is the theme I have my gallery set to and am working on the stylesheet out of that folder. I just checked and it says the last modification date is Jan 7th.
Logged

Nibbler

  • Guest
Re: CSS for project_vii
« Reply #10 on: January 07, 2008, 08:06:49 pm »

OK, but you need to modify the path to the css file in template.html so that it points to the style.css in "May", not the old style.css in project_vii.
Logged

BabeandJamie4Ever

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 67
Re: CSS for project_vii
« Reply #11 on: January 07, 2008, 11:15:14 pm »

Thanks so much!! It works now :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CSS for project_vii
« Reply #12 on: January 08, 2008, 08:16:49 am »

It's recommended to come up with a custom name for a custom theme. As Nibbler suggested, you need to change the reference from the old theme name to the new one. Read up "Rename your theme first"
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.