Wrapping Theme Help - Fixed header
Permalink 1 user found helpful
Hello C5 community!
I've hit a bit of a road block with this theme I purchased:http://www.ansonika.com/paradise/.... There is a header class with an fixed position. I have to disable the header in order to get the C5 edit bar to show up but then it mucks up the design. I tried using the #mywrapper technique with little luck. The fixed header seems to be a design trend now so I think it would be beneficial to get this figured out for the community at large.
Thanks!
I've hit a bit of a road block with this theme I purchased:http://www.ansonika.com/paradise/.... There is a header class with an fixed position. I have to disable the header in order to get the C5 edit bar to show up but then it mucks up the design. I tried using the #mywrapper technique with little luck. The fixed header seems to be a design trend now so I think it would be beneficial to get this figured out for the community at large.
Thanks!
forgot to say, just stick that under the opening body tag.
If this theme is an official concrete5 theme, then you need to ask the developer to fix this. If it's not an official C5 theme then C5 can't possibly be expected to fix themes meant for other systems.
That being said, I would do something like this:
That being said, I would do something like this:
<?php $p = new Permissions($c); if ($p->canWrite()){ ?> <style> header { top: 49px !important; } </style> <?php } ?>
This should be marked as best answer. Works perfectly!
More than four years later, still very helpful even on Concrete5 8.2.1.
(top: 48px)
Thank you!
Michael
(top: 48px)
Thank you!
Michael
First thing, it is not a C5 theme, it's from themeforest.
Next thing is, if it ported properly to C5 the header will drop in edit mode, regardless of whether it is fixed or not.
So, if you cannot see the edit bar you need to look at the converted code.
Do you have all the right files needed?
Do you have a footer.php?
Do you havein the footer.php?
Next thing is, if it ported properly to C5 the header will drop in edit mode, regardless of whether it is fixed or not.
So, if you cannot see the edit bar you need to look at the converted code.
Do you have all the right files needed?
Do you have a footer.php?
Do you have
<?php Loader::element('footer_required'); ?>
Its not a crime to buy a theme from elsewhere and convert it to concrete5, the guy made no claim at all that he purchased the theme from C5, just said he was having problems with a theme he purchased with a fixed header and getting it to play nice with the edit bar.
Sorry if my response sounded 'snippy'. I thought the OP was expecting C5 to handle this automatically but upon re-reading the original post, I may have mis-interpreted his words. Sorry, no harm intended.
I answered the question 'is this an official Concrete5 theme'.
I mentioned porting, it can be tricky!
I then asked if the right files were in place?
Only trying to help?
I mentioned porting, it can be tricky!
I then asked if the right files were in place?
Only trying to help?
the body will be pushed down in edit mode, moving all the content down, and so will the header, so it should stay in proportion.