Space above site name
Permalink
I would love to get rid of the empty space above the site name but can't seem to figure it out. I've tried:
#page #headerSpacer {height: 0px;}
under themes in the main css file. I've cleared the cache. What else can I try? Please speak slowly and loudly as English is my first and only computer language.
I'd be grateful for any help.
#page #headerSpacer {height: 0px;}
under themes in the main css file. I've cleared the cache. What else can I try? Please speak slowly and loudly as English is my first and only computer language.
I'd be grateful for any help.
You could just remove the div completely from your template files (default.php, view.php as well as other files used depending on your template). Look in path.to.c5/themes/your_theme directory.
Change:
into:
Change:
<body> <div id="page"> <div id="headerSpacer"></div> <div id="header">
into:
<body> <div id="page"> <div id="header">
Adajad,
I went into default.php and view.php but I couldn't find lines that looked just like what you described. The only line with the word "spacer" in it is:
<div class="spacer"> </div>
What do ya think? Should I delete that line?
Thanks, Wendy
I went into default.php and view.php but I couldn't find lines that looked just like what you described. The only line with the word "spacer" in it is:
<div class="spacer"> </div>
What do ya think? Should I delete that line?
Thanks, Wendy
Well, since I didn't know exactly which theme you were using I gave you the wrong information. In your themes folder you also have a folder named elements. In that folder your should have a file named header.php. You can actually see the call for that file in your default.php where it says:
In header.php you will find the div I talked about earlier. You should, however, try the solution from jordanlev first which would be more correct if you in the future would like to add space again.
Edit: The code snippet above is here for educational purpose. What it does is to tell the browser to include the code in file header.php from the elements folder when the browser pulls the web page (default.php) from your web server.
$this->inc('elements/header.php');
In header.php you will find the div I talked about earlier. You should, however, try the solution from jordanlev first which would be more correct if you in the future would like to add space again.
Edit: The code snippet above is here for educational purpose. What it does is to tell the browser to include the code in file header.php from the elements folder when the browser pulls the web page (default.php) from your web server.
The css code you tried should work. Where exactly did you put it (which file in which directory on your server)? And did you replace the one that's already there, or overwrite the existing number?
Jordanlev,
This is where I put it: From the C-panel, under "files" I click on "file manager," then "open web root directory," then "concrete" then "themes," "default" (Plain Yogurt), "main.css" and then click at the top on "code editor".
When I got there I just deleted the "64" and replaced it with "0." But no change.
This is where I put it: From the C-panel, under "files" I click on "file manager," then "open web root directory," then "concrete" then "themes," "default" (Plain Yogurt), "main.css" and then click at the top on "code editor".
When I got there I just deleted the "64" and replaced it with "0." But no change.
This is kind of confusing, but actually you need to make the change here:
"web root directory" -> "updates" -> "concrete5.4.1.1" -> "themes" -> "default" -> "main.css"
This is because at some point you've upgraded your Concrete5 system to a newer version, and the upgrade puts all the new system files in a totally different place than before. It does this so that if the upgrade gets accidentally stopped halfway through, you haven't ruined your original system files. But the downside to this is that it gets really confusing to find the appropriate files sometimes!
One more thing... after you make this change, you should go to your site Dashboard, click on "Sitewide Settings", and then click the "Clear Cache" button -- sometimes you need to do this before CSS changes are recognized.
Good luck!
-Jordan
"web root directory" -> "updates" -> "concrete5.4.1.1" -> "themes" -> "default" -> "main.css"
This is because at some point you've upgraded your Concrete5 system to a newer version, and the upgrade puts all the new system files in a totally different place than before. It does this so that if the upgrade gets accidentally stopped halfway through, you haven't ruined your original system files. But the downside to this is that it gets really confusing to find the appropriate files sometimes!
One more thing... after you make this change, you should go to your site Dashboard, click on "Sitewide Settings", and then click the "Clear Cache" button -- sometimes you need to do this before CSS changes are recognized.
Good luck!
-Jordan
YAY!! The only thing I did different from what you said is that I went from concrete 5.4.1.1 > concrete > themes...etc. When I went from concrete 5.4.1.1 to themes, the themes file was empty. Thanks so much.
Wendy
Wendy
Thanks.