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: Problem with Theme and Category Format  (Read 3651 times)

0 Members and 1 Guest are viewing this topic.

foz

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Problem with Theme and Category Format
« on: January 06, 2006, 02:32:35 am »

Hi all.

I am using coppermine v1.4.2 stable  and I am having problems with a theme I am using with it.  The theme was made by combining the theme from my website and the classic theme from coppermine. I am not very good at html, as you will be able to tell when you look at the code .:)  I have been trying for 2 full days to solve this issue, but I have had no luck.  Also I did not find anyone else here with a similar issue.

Please go to the site http://www.thewoodlandsmonitor.com/cpg/

If you notice the category text is not aligned properly.  It is hard to explain, but basically all the text in the same sub categories is not lined up properly.  I added the theme change box so you can change to the classic theme to see how the default theme looks compared to mine (woods).

I have edited the style.css file.....specifically the ul and il elements as well as catrow and other items.  I have actually removed them (ul il)and it doesnt seem to make a difference.  I have also tried modifying the template.html.  Out of desperation I combined the two style.css files(my website style.css and the coppermine classic style.css) and then tried by a process of elimination to isolate the problem.

After all this I still think it is something in the style.css, but I just cant seem to figure it out.

I have literally spent about 12 hours in front of the computer trying to figure out this one little problem.

I would appreciate any help, pointers or anything that might help me out a bit.


Thanks
foz
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Problem with Theme and Category Format
« Reply #1 on: January 06, 2006, 07:18:46 am »

your Xhtml is really REALLY messed up.

You can see the output from the validator here:

http://validator.w3.org/check?verbose=1&uri=http://www.thewoodlandsmonitor.com/cpg/

I saw two <html> tags, and after that I stopped looking. You need to clean it up and validate it before trying to troubleshoot why it isn't displaying properly.

your server is also missing the styleNN.css which is specified in your html somewhere.

style.css also shows some serious errors and validation can help you identify where you have overlapping css classes.

http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A//www.thewoodlandsmonitor.com/cpg/themes/woods/style.css




Logged

foz

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Problem with Theme and Category Format
« Reply #2 on: January 06, 2006, 08:42:09 pm »

Hi donnoman :)

I appreciate the response.

I have currently corrected my css and am now working on my xhtml.  I appreciate you posting those links.  They really help someone with limited knowledge like me :)

I was curious if you know what class,id etc. would be responsible for the alignment of the category text?

I am still sludging through my xhtml but was just wondering if there is a specific item that sets that parameter? 

Once again thanks for the post :)

foz
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Problem with Theme and Category Format
« Reply #3 on: January 07, 2006, 03:22:48 am »

If you don't have it already, check out the web developer toolbar extension for firefox. It makes theming much easier. You can even modify css files live, without messing with the real file.
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Problem with Theme and Category Format
« Reply #4 on: January 07, 2006, 08:32:33 pm »

.... see what TranzNdance said.

I use several "developer" toolbars to diagnose xhtml and css problems. The theme upgrade documentation has a link to one for Firefox and one for IE that I recommend highly.

I usually use a combination of FF and IE to troubleshoot pages, there are features in each of those toolbars that the other toolbar doesn't have... they're like potato chips, you can't have just one. ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.