Firefox Problems...in header and footer particularly

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
a1000w
Forum Members
Forum Members
Posts: 18
Joined: Tue Dec 28, 2010 9:23 pm

Re: Firefox Problems... in header and footer particularly

Post by a1000w »

a1000w wrote:
Dr.CSS wrote:It looks like you have the same content on every page, the links work as far as changing the URL in address bar, but I think the problem you are having is that you should never ever change anything in the root/index.php it is for pulling everything in the site together not to be changed like a flat file site where you may change index.html or contact.html...

This is done in the site.com/admin side in content > pages, your template needs to have {content} tag in it that will give you a content edit page in the edit page page...

Also your call for the image in the h1 a link is not correct, actually more than one image call is incorrect, look at how the others that do show are called, path wise...

BTW. you have CMSSimple, in case you didn't know there is actually a CMS called CMSSimple and this isn't it...
Thank you. So... I made the mistake of making changes in the root/index.php. I now understand that. From where can I reload the index.php? (The server on which I am using this had loaded the original files. I can probably go back to them?)

I appreciate your patience.

Question.... my server guys are saying they're not sure about reloading a root/index.php.... can they simply upload it from their basic files, so it would be unadulterated? Or do they have to completely re-install CMSMadeSimple? (after which I've copied all my pages so I have them!)

Thanks.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Firefox Problems... in header and footer particularly

Post by Dr.CSS »

Your server guy? just upload a fresh copy of the index.php from an unpacked cmsms of the same version used on site now, doing this will fix it not create any problems...

NO NEED to do install...
a1000w
Forum Members
Forum Members
Posts: 18
Joined: Tue Dec 28, 2010 9:23 pm

Re: Firefox Problems... (SOLVED)

Post by a1000w »

Dr.CSS wrote:Your server guy? just upload a fresh copy of the index.php from an unpacked cmsms of the same version used on site now, doing this will fix it not create any problems...

NO NEED to do install...

Have passed this on. Thank you so much for your patience and response! Hopefully, this is now solved.
a1000w
Forum Members
Forum Members
Posts: 18
Joined: Tue Dec 28, 2010 9:23 pm

Re: Firefox Problems... in header and footer particularly

Post by a1000w »

a1000w wrote:
Dr.CSS wrote:Also your call for the image in the h1 a link is not correct, actually more than one image call is incorrect, look at how the others that do show are called, path wise...

BTW. you have CMSSimple, in case you didn't know there is actually a CMS called CMSSimple and this isn't it...

Very sorry to bother you, but simply don't understand the header setup. I only need one image across the entire page in the header. I read somewhere on this board that you can do that.... but I don't understand the logic and how to fix it.

I have set up the image:
/* you can set your own image here, will go behind h1 a image */
background: #ffffff url(header_01-over/jpg) repeat-x left top; float: left;

div#header h1 a {
/* you can set your own image here */
background: url(header_01-over/jpg) no-repeat left top;*/
/* this will make the "a" link a solid shape */
display: block;
/* adjust according your image size */
height: 146px;
width: 1000px;
/* this hides the text */
text-indent: -999em;
/* old firefox would have shown underline for the link, this explicitly hides it */
text-decoration: none;
}
div#header h1 {
margin: 0;
padding: 0;
float: left;
/*these keep IE6 from pushing the header to more than the set size*/
line-height: 0;
font-size: 0;
/* this will keep IE6 from flickering on hover */
background: url([[root_url]]/uploads/images/header_01-over.jpg) no-repeat left top;
}
div#header h2 {
/* this is where the site name is */
float: left;
line-height: 0em;
/* this keeps IE6 from not showing the whole text */
font-size: 1.5em;
/* keeps the size uniform */
margin: 15px 65px 0px 0px;
/* adjust according your text size */
color: #ffffff;
}


This displays correctly in Explorer but is blank in Firefox. I'm afraid I need specific direction on how to fix this for Firefox. Thank you.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Firefox Problems... in header and footer particularly

Post by Dr.CSS »

Either remove the */ here or add /* to the beginning of this line...

background: url(header_01-over/jpg) no-repeat left top;*/
a1000w
Forum Members
Forum Members
Posts: 18
Joined: Tue Dec 28, 2010 9:23 pm

[SOLVED]Re: Firefox Problems...in header and footer particul

Post by a1000w »

[quote="Dr.CSS"]Either remove the */ here or add /* to the beginning of this line...

Thank you!!!!
Post Reply

Return to “Layout and Design (CSS & HTML)”