Problem with Theme and Category Format Problem with Theme and Category Format
 

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

Main Menu

Problem with Theme and Category Format

Started by foz, January 06, 2006, 02:32:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

foz

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

donnoman

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





foz

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

Tranz

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.

donnoman

.... 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. ;)