Theme format issues Theme format issues
 

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

Theme format issues

Started by savdre, August 03, 2008, 04:55:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

savdre

I have integrated coppermine into our site. Everything is great except that the style sheet for the theme i am using is taking president over the style for my header.

I have narrowed it down to a table attribute in the style sheet that is setting the font size to 12. For some weird reason that one change is messing up the header. i am using deamweavers spry horizantal header. On the cooper mine page it is losing the settings for width. total bizzar.

I have tried formating a million different ways. if I remove the table style from the theme style sheet, the header works fine, but the copper page get slightly wierd becasue of changes in the font. Trying to format the table individually does not have the same effect.

I have messed with this for hours and I am super frustrated.

Here are the links:

How the header should look:
http://coastalcombatives.com/newpages/index.html

the coppermine page with the slightly messed up header format:
http://coastalcombatives.com/coppermine_dir/index.php

notice that the header has lost the widths. Roll over the menu and you can see the submenus have the same issue. I have tried using the custom header funtion and I have tried putting the header directly in the template html.

I hope some one can help before I choke the livin !@#$!@#$!@# out of my machine (this statement will actually mean something if you visit the site. kind a funny I think)

Andreass

savdre

does anyone have a suggstion or response. Please help.

Nibbler

Looks fine to me. Is this an IE only issue? Post a screenshot.

steveeh131047

Andreass,

I see your problem in both FF and IE.

You seem to have declared 2 style sheets in the <body> of your HTML and one in the <head> - I'm not sure what takes precedence in this situation.

I would suggest you have just one style sheet declaration in your HTML <head>, and then use @import in the style sheet to "pull in" other sheets; that way you'll know exactly where the precences lie.

Steve

savdre

I tired the @import and no real improvement. I even made sure to remove one of the extra style sheets. Any other suggestions.

What is the deal with calling the font size for tables in the style sheet. I have confirmed that is  what is casuing the problem.

Does anyone know of a way to tell a section of the code to ignore a specific style in the style sheet?

Gizmo

Attached is a new SpryMenuBarHorizontal.css file. Make a backup of the one you're using then upload this overwriting the one on the server. I change a couple of the widths so you can compare the 2 files to see what I changed. After downloading the attached file remove the .txt extension.

Billy
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

savdre

dude that was so close to a perfect fix...

I double checked my thoery and not only is it the table font-size attribute that is casuing the problem, but it is also the body size attribute in the style sheet. You get rid of those and the header works great.

your fix worked on the photo page, but pushed the header on the non-coppermine pages...

I have been inspired for a solution... I got rid for the table and body font-size attribute in the stye sheet. Then in the template in a couple of the <div>s I added a <font size="-1"> and that seemed to work.

i am changing it back now.

thanks for your help... you did get me thinkging in the right direction.