Header toolbar gone after editing header.php
Permalink
Hi,
I thought I could remove some extra space at the top of a site when I went in and changed the header.php in /mytrucklube.com/concrete/themes/default/elements from
to:
Didn't work, and it may have messed up another script (the power slider), so I thought I changed it back.
Now, when I log in, on the top part of the site, where it has the hand, the "return to website" line, it's gone, just a 1/2 inch band of nothing, and prior to that, a jquery script I had working stopped working. Also, the URL only shows:http://www.mytrucklube.com/.
But, if I typehttp://www.mytrucklube.com/index.php/dashboard... I get the dashboard, and dashboard option bar, but if I click "return to website", the bar is gone again.
I even tried changing themes to the Dark Chocolate. Theme changed ok, but the bar at the top is still missing.
I hit the F12 key in chrome to look at what I could, and then inspected that header area with the magnifying glass. Under Matched CSS Rules, there is a strikethrough:
-moz-box-shadow: 0px 2px 2px rgba(90,...
As a side note, I was pretty excited about the metrics area.
I am pretty new to this, but I think whatever I did changed a CSS setting somewhere.
Now I know not to mess with things willy nilly. Can someone help, and hopefully explain it simple terms? I may know some lingo, but I'm still pretty new with php, js, css and all that, just know a fair amount of html, file structure, and how to do a little bit from the FTP area of the site.
Thank you
I thought I could remove some extra space at the top of a site when I went in and changed the header.php in /mytrucklube.com/concrete/themes/default/elements from
<div style="min-height: 80px">
to:
// <div style="min-height: 80px"> <div style="min-height: 8px">
Didn't work, and it may have messed up another script (the power slider), so I thought I changed it back.
Now, when I log in, on the top part of the site, where it has the hand, the "return to website" line, it's gone, just a 1/2 inch band of nothing, and prior to that, a jquery script I had working stopped working. Also, the URL only shows:http://www.mytrucklube.com/.
But, if I typehttp://www.mytrucklube.com/index.php/dashboard... I get the dashboard, and dashboard option bar, but if I click "return to website", the bar is gone again.
I even tried changing themes to the Dark Chocolate. Theme changed ok, but the bar at the top is still missing.
I hit the F12 key in chrome to look at what I could, and then inspected that header area with the magnifying glass. Under Matched CSS Rules, there is a strikethrough:
-moz-box-shadow: 0px 2px 2px rgba(90,...
As a side note, I was pretty excited about the metrics area.
I am pretty new to this, but I think whatever I did changed a CSS setting somewhere.
Now I know not to mess with things willy nilly. Can someone help, and hopefully explain it simple terms? I may know some lingo, but I'm still pretty new with php, js, css and all that, just know a fair amount of html, file structure, and how to do a little bit from the FTP area of the site.
Thank you
// does NOT comment out html code, that will only work in php, so either put it in php tags and do that, or use <!-- and -->
thank you. I was thinking it was something like that.
But I changed it back (as far as I can tell). Attached is the screenshot of what I see, notice the strikeout on the bottom right. Is that the issue? If so, any idea to undo it?
But I changed it back (as far as I can tell). Attached is the screenshot of what I see, notice the strikeout on the bottom right. Is that the issue? If so, any idea to undo it?
Slept on it and looked at it again.
Now I see *3* things on the home page. The missing toolbar, an error, a and a strike-through on "margin: 8px;".
Just the strike through on all other pages.
I am attaching a screen shot of the home page, and the second page.
Now I see *3* things on the home page. The missing toolbar, an error, a and a strike-through on "margin: 8px;".
Just the strike through on all other pages.
I am attaching a screen shot of the home page, and the second page.
Surprised to see there are no replies. I will post this in another forum and hope to get some help.
This seemed to help (or else someone else logged in on my behalf and fixed it:
http://www.concrete5.org/community/forums/customizing_c5/trying-to-...
http://www.concrete5.org/community/forums/customizing_c5/trying-to-...